A GPX file's main components are
waypoints,
routes, and
tracks: • A waypoint (wpt) contains the World Geodetic System#WGS 84 (GPS) coordinates of a point and optionally other descriptive information. • A route (rte) is an ordered list of waypoints (rtept) representing a series of significant turn points leading to a destination. In general, a route is used to describe directions for a journey which someone wants to take at some point in the future. • A track (trk) consists of possibly multiple segments (trkseg), which in turn each contain a series of waypoints (trkpt). It is typically used to represent journeys which somebody has already completed or recorded. Note that the XML tags enclosing each waypoint of a route or track segment are called rtept and trkpt, respectively, while the tag for the basic waypoint element is wpt. Despite this difference in name, they all hold the same data type called wptType. 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 and
Garmin, use extensions to the GPX format for recording street address, phone number, business category, air temperature, depth of water, and other parameters. ==Units==