Equipment & Technology

How a GPX Track Becomes a Roadbook

A GPX track is a line of points; a roadbook is a sequence of decisions. This article walks through the steps between them, where automation helps and why human review and field validation remain essential.

By
By Joris Claessens · Founder
Published
{n} min read
5 min read

In brief

A GPX track is an ordered list of points without reliable information about junctions, access or hazards. Turning it into a roadbook means checking quality, relating the track to a map network with uncertainty, finding decision points by topology rather than angle alone, calculating distances, drawing tulips and CAP, then human review, safe field validation, revision, export and version control. The TNR Roadbook Engine is in development and its candidates always need review and validation.

Key takeaways

  • A GPX track gives geometry and order, not meaning.
  • Map matching is uncertain; keep a confidence indication.
  • Decision points depend on topology, not only on angle.
  • Notes on hazards and landmarks come from people, not the file.
  • Every generated instruction needs human review and field validation.

You have a GPX file from a good day of riding and want to turn it into a roadbook for a friend or for training. Open it, and you see a few thousand points with coordinates and perhaps elevation and time. Nothing in the file says where the junctions are, which turns matter, which tracks are open or where the deep ford was. Turning a track into a roadbook means adding that meaning, and much of it cannot be read from the points alone.

What a GPX track contains

A GPX track is an ordered list of geographic points. Each point has a latitude and longitude, and may have elevation and a timestamp. The order gives direction. That is all. A GPX file does not reliably describe junctions, side tracks, access, surface or hazards. A recorded track also contains noise: points that jump when reception is poor, clusters where the rider stopped, gaps where the device lost position. A drawn track may cut corners or follow the map imprecisely.

Step 1: import and check quality

  • Look for gaps where points are missing over a longer distance.
  • Remove duplicate points and clusters from stops.
  • Check direction: is the track in the order you want to ride it?
  • Check for jumps that suggest reception errors.
  • Decide whether a long track should be split into sections.

Step 2: relate the geometry to a map network

To know where junctions are, the track has to be related to a network of roads and tracks, for example from open map data, where it is available. This is called map matching. It is uncertain: the track may lie between two parallel ways, the network may be incomplete, or the rider may have used a way that is not mapped. Each matched section should therefore keep an indication of how confident the match is.

Step 3: identify candidate decision points

A decision point is a place where the rider must choose. Candidates are where the matched route meets other ways, or where its direction changes. The difficult part is filtering. A winding track can contain many bends that are not decisions, while a real turn at a shallow angle can be easy to miss. Consider a hypothetical case: one point where the track bends 70 degrees with no other way, and another where it changes 30 degrees at a T-junction. An angle threshold alone would mark the bend and skip the junction. Topology, meaning which ways meet where, and the expected riding line matter more than the angle. Point density also influences the result: sparse points flatten bends and can move apparent junctions.

Step 4: distances, tulips and CAP

For each instruction, the total distance is calculated along the route from the start, and the interval from the previous instruction. These distances come from the geometry, so they depend on its quality, and they may differ from what a trip meter measures on the ground. A schematic tulip is drawn from the shape of the junction: entry, exit and the other branches. Where relevant, a heading for the exit can be added as CAP, with its reference stated clearly. Notes about landmarks, hazards and surface cannot be derived reliably from a GPX file; they come from people who know the route.

Step 5: human review

Every candidate instruction needs review by someone who understands roadbooks. Is this really a decision point? Is a side track missing from the drawing? Is the distance plausible? Is there a hazard that should be noted? Some candidates will be deleted, others merged or added. Review also checks that nothing implies access: an instruction is not permission to ride a track.

Step 6: field validation, revision, export and versions

A reviewed roadbook is still a draft until someone has ridden the route safely and legally and compared instructions with reality. Field validation finds misplaced junctions, distance offsets and missing notes. The roadbook is then revised. Export it in the format your reader or printer needs, and keep versions: which GPX source, which review, which field check and which date. That way an error can be traced and corrected.

Where TNR's work fits

At True North Rally we are developing tools for this process. The Roadbook Engine is in development: it proposes candidate instructions, and every candidate requires human review and field validation. It does not produce certified roadbooks and we make no claim of conformity with FIM or FIA formats. You can follow the development on the apps page. For how a finished roadbook is read, see the roadbook navigation guide.

Frequently asked questions

Can software create a roadbook automatically from a GPX file?

Software can propose candidate instructions, but review by a person and validation in the field remain necessary.

Why do roadbook distances differ from my trip meter?

Calculated distances come from the track geometry, while a trip meter measures on the ground. Correct at confirmed points.

Is the TNR Roadbook Engine available?

It is in development and not publicly available. See the apps page for current information.

Does a generated roadbook meet FIM or FIA standards?

We make no such claim. Check your event's requirements for roadbook format.

By

Joris Claessens

Rally enthousiast, 2 days a week on the bike, Husqvarna 701 & KTM 300 EXC

← All articles