Class: QgsGpsInformation¶
- class qgis.core.QgsGpsInformation¶
Bases:
sip.wrapper
Encapsulates information relating to a GPS position fix.
Enums
alias of
GpsFixStatus
Methods
Returns the best fix status and corresponding constellation.
Returns the value of the corresponding GPS information
component
.Returns a map of GNSS constellation to fix status.
Returns the fix status
Returns whether the connection information is valid
Returns a descriptive string for the signal quality.
Attributes
- FixStatus¶
alias of
GpsFixStatus
- bestFixStatus(self) Tuple[Qgis.GpsFixStatus, Qgis.GnssConstellation] ¶
Returns the best fix status and corresponding constellation.
- Return type:
- Returns:
best current fix status
constellation: will be set to the constellation with best fix status
New in version 3.30.
- componentValue(self, component: Qgis.GpsInformationComponent) Any ¶
Returns the value of the corresponding GPS information
component
.New in version 3.30.
- Parameters:
component (Qgis.GpsInformationComponent) –
- Return type:
Any
- constellationFixStatus(self) Dict[Qgis.GnssConstellation, Qgis.GpsFixStatus] ¶
Returns a map of GNSS constellation to fix status.
New in version 3.30.
- Return type:
- direction¶
- elevation¶
- elevation_diff¶
- fixMode¶
- fixStatus(self) Qgis.GpsFixStatus ¶
Returns the fix status
Deprecated since version ,: use
constellationFixStatus()
orbestFixStatus()
instead.- Return type:
- fixType¶
- hacc¶
- hdop¶
- hvacc¶
- isValid(self) bool ¶
Returns whether the connection information is valid
New in version 3.10.
- Return type:
bool
- latitude¶
- longitude¶
- pdop¶
- quality¶
- qualityDescription(self) str ¶
Returns a descriptive string for the signal quality.
New in version 3.16.
- Return type:
str
- qualityIndicator¶
- satInfoComplete¶
- satPrn¶
- satellitesInView¶
- satellitesUsed¶
- speed¶
- status¶
- utcDateTime¶
- utcTime¶
- vacc¶
- vdop¶