LinksPoint GPS Toolkit Reference
GpsGetPosition
gpsapi.h | Generic GPS Functions | See Also
Returns the current position including latitude and longitude as well as the current altitude and ground speed
Parameters
Parameters Description
GPSFORMAT gfFormat Specifies the units of the returned data.
Return Value
A GPSPOSITION structure containing the current position information
Remarks
  • This function is not .NET compatible. For a .NET compatible equivalent, see GpsGetPositionEx

  • The units of the result can be radians or decimal degrees as specified by gfFormat

  • The latitude and longitude are referenced to WGS84

  • The altitude is not height above mean sea level, but height above mean geoid. The geoid is a mathematical representation of the surface of the earth. In order to convert to height above mean sea level, a local elevation model is required.
See Also
Group
Declaration
File
Links
Copyright ©1998-2005 Links Point Inc.