Za'atar Digital

eServices for the rest of us

User Tools

Site Tools


gpskit:docs:zdgpskit:nmea:gpgga

GPGGA

Super class zdGPSKit.NMEA.Sentence
Namespace zdGPSKit.NMEA

This class provides essential fix data for 3D location and accuracy. It doesn’t provide any motion information.


Constructor


Syntax
Constructor( inNMEA0183DataChunk As String )

The only parameter needed is a NMEA 0183 sentence without the ‘$‘ prefix and the checksum value.

Methods


Altitude

Syntax
Altitude() As String

The antenna altitude above Mean Sea Level ( MSL ). Returns Nil if there is no data available.

AltitudeUnity

Syntax
AltitudeUnity() As String

Units of antenna altitude. ( M = Meters )

DGPSDataAge

Syntax
DGPSDataAge() As String

The age of the differential GPS ( DGPS ) data in seconds since last valid RTCM transmission. The maximum age reported is 99 seconds.

Returns an empty string if DGPS is not used.

DGPSStationID

Syntax
DGPSStationID() As String

The differential GPS reference station ID. Expected value is in the 0000-1023 range.

Returns an empty string if DGPS is not used.

FixQuality

Syntax
FixQuality() As String

The GPS quality indicator for the fix. See the constants section for the different values returned.

FixQualityString

Syntax
FixQualityString() As String

Returns the quality indicator as an english string.

HDOP

Syntax
HDOP() As String

The horizontal dilution of precision.

HeightOfGeoid

Syntax
HeightOfGeoid() As String

Height of geoid above the WGS84 ellipsoid.

HeightOfGeoidUnity

Syntax
HeightOfGeoidUnity() As String

The units used for HeightOfGeoid() value. M = Meters.

Latitude

Syntax
Latitude() As String

The latitude in ddmm.mmmmm format.

The number of decimal may change depending on the GPS device type.

LatitudeHemisphere

Syntax
LatitudeHemisphere() As String

The latitude hemisphere letter:

  • N = North
  • S = South

Longitude

Syntax
Longitude() As String

TheLongitude in dddmm.mmmmm format.

The number of decimal may change depending on the GPS device type.

LongitudeHemisphere

Syntax
LongitudeHemisphere() As String

The longitude hemisphere letter.

  • E = East
  • W = West

UsedSatellitesCount

Syntax
UsedSatellitesCount() As String

The number of satellites used to compute this fix.

UTCTimeString

Syntax
UTCTimeString( inWithDecimal As Boolean = False ) As String

Returns the UTC time as hh:mm:ss[.sss]. If you pass True as parameter, the decimal seconds will appear on the output.

Constants

Fix quality

Constant name Value Description
kFixQualityDeadReckoning 6 The data have been estimated by dead reckoning ( NMEA 0183 v2.3 feature ).
kFixQualityDGPS 2 The data have been obtained using a differential GPS.
kFixQualityGPS 1 The data have been obtained using the device’s GPS sensor only.
kFixQualityInvalid 0 The data are invalid.
kFixQualityManualInput 7 The data come from a manual input.
kFixQualityPPS 3 The data have been obtained using the Precise Positioning Service ( PPS ).
kFixQualityRTKFixed 4 The data have been obtained by a Real Time Kinematic ( RTK ) fixed ambiguity solution.
kFixQualityRTKFloating 5 The data have been obtained by a Real Time Kinematic floating ambiguity solution.
kFixQualitySimulation 8 The data come from a simulation mode.
kFixQualityWAAS 9 The data have been obtained using the Wide Area Augmentation System ( WAAS ).
gpskit/docs/zdgpskit/nmea/gpgga.txt · Last modified: 2016/01/29 17:24 (external edit)