GPS Exchange Format explained

GPS Exchange Format
Mime:application/gpx+xml and application/octet-stream
Released:2002
Latest Release Version:1.1[1]
Extended From:XML
Open:yes

GPX, or GPS Exchange Format, is an XML schema designed as a common GPS data format for software applications. It can be used to describe waypoints, tracks, and routes. It is an open format[2] and can be used without the need to pay license fees. Location data (and optionally elevation, time, and other information) is stored in tags and can be interchanged between GPS devices and software. Common software applications for the data include viewing tracks projected onto various map sources, annotating maps, and geotagging photographs based on the time they were taken.

Data types

A GPX file's main components include waypoints, routes, and tracks:

In addition to the above, GPX files can also contain additional data. The minimum properties for a GPX file are latitude and longitude for every single point. Some vendors, such as Humminbird}} and Garmin, use extensions to the GPX format for recording street address, phone number, business category, air temperature, depth of water, and other parameters.[4] [5]

Units

Latitude and longitude are expressed in decimal degrees, and elevation in meters, both using the WGS 84 datum.[6] Dates and times are expressed in Coordinated Universal Time (UTC) using ISO 8601 format.

Sample GPX document

The document below is a sample GPX file which contains three waypoints which correspond to the locations of the German, Swiss, and Austrian parliaments.

Data name Valid GPX example without special characters Author name 35.0 Reichstag (Berlin) City 179 Parlament (Wien) City Bundeshaus (Bern) City

See also

Concepts
File formats
Standards
Software

Notes and References

  1. Web site: GPX: the GPS Exchange Format. topografix.com.
  2. Web site: wptType. GPX 1.1 Schema Documentation – topografix.com.
  3. Web site: rteType. GPX 1.1 Schema Documentation – topografix.com.
  4. Web site: Garmin Mass Storage Mode Devices - Garmin Developer . Garmin . 2013-03-26 . 2014-08-20 . https://web.archive.org/web/20140820153733/http://developer.garmin.com/web-device/garmin-mass-storage-mode-devices/ . dead .
  5. Web site: Garmin Gpx Extensions Schema . xsd (XML schema) . Garmin . 2013-03-26.
  6. Web site: GPS eXchange Format (GPX) Reader/Writer . 2024-02-04 . docs.safe.com.