Videos

Tracks, routes and waypoints: the anatomy of a GPX file

2:18  ยท  2 November 2026

Chapters

  1. 0:00Same file, two distances
  2. 0:27Three kinds of location data
  3. 1:02From route to track
  4. 1:23What you send
  5. 1:34A file with both
  6. 1:45Read wrongly: 172 km becomes 288
  7. 1:55Same thing, many names

About this video

The main points of the article "Tracks, Routes and Waypoints: The Anatomy of a GPX File", animated: a waypoint is one place, a route is a list of points to go through, and a track is the line itself. The maps are drawn for the video, not real places.

Transcript

Open one race file in two apps. One says a hundred and seventy-two kilometres. The other says two hundred and eighty-eight. Same file, read two ways. It holds a track, the course itself, and a route listing the checkpoints. One app shows them as points, the other joins them on as more line. To see why, you need to know what a GPX file can hold.

A GPX file can hold three kinds of location data. A waypoint is a single place, like a water tap or a mountain hut.

A route is a list of points to go through, in order. Your device or app works out the way between them.

A track is the line itself. A series of points showing the exact path, often thousands of them, sometimes just a few metres apart.

They are separate things. A file can hold any mix of them, even several of each.

A router turns a route into a track. It snaps each point to a suitable road, finds the best way between them, and writes the resulting track.

The router can preserve each point you clicked, with a matching point on the road. Its name and other details can go with it.

So what you send matters. Send the track, and your device follows your line. Send the route, and it works out the roads itself, and may choose others.

A file with both can mean two things. A list of stops along the way, like a race's checkpoints. Or the same journey written twice, for a sat nav.

Read those checkpoints as more line, and a hundred and seventy-two kilometres becomes two hundred and eighty-eight.

Different apps use different words for them: track, course, tour, route. So look at the file itself. T R K means track. R T E means route. W P T means waypoint.

Tracks, routes and waypoints. The full guide is on PitStopper dot net.

Where to find this in PitStopper

More videos