Metric Trails
Contents

Metric Trails wiki

How far did you run, and how much did you climb? On a trail, the honest answer depends on how the course was recorded and how the data was processed. This wiki explains why, and how Metric Trails measures trails so that the numbers can be compared.

Metric Trails is a research lab developing quantitative methods to study trail runners and human movement in free-living conditions. Measuring the trail comes first, because every later analysis (pace, effort, physiology, rankings, records) inherits the error of that measurement. The methods described here are published in peer-reviewed research and implemented in the open-source metrictrails R package.

Sources: Sanchez et al. (2025a) and Sanchez et al. (2025b).

How to read this wiki

The wiki goes from general to specific. Part I is for anyone who runs, organises or follows trail races. Parts II and III explain the measurement problem and the method in increasing detail. Part IV shows what the method makes possible.

Every section opens with a short summary. Read the summaries for the big picture, or keep going for the detail. Citations point to the peer-reviewed work behind each step, as they do in the documentation of the metrictrails package, and each page ends with its list of references.

Contents

  1. Part I. The problem

    Why distance and elevation gain on trails are uncertain, and why that matters for fairness, rankings and safety.

    1. How long did we run?
    2. Why it matters
    3. Road running and trails
  2. Part II. Why the numbers disagree

    GNSS devices measure position, not distance. Five sources of discrepancy shape the result, and each one has been measured.

    1. Position, not distance
    2. Position drift
    3. Spatial resolution
    4. Elevation
    5. Processing
    6. Field protocol
  3. Part III. The Metric Trails method

    How a GNSS track becomes a standard track that can be compared with any other, and how the MT standards, the GPX Audit and the R package put it into practice.

    1. Trails as reference objects
    2. The standard track
    3. MT standards
    4. GPX Audit
    5. The metrictrails package
  4. Part IV. Use cases

    Studies that use GNSS tracks from wearables to learn about athletes, physiology, data integrity and access to the mountains.

    1. Pace and slope over five years
    2. Walking or running uphill
    3. Where to wear a cadence sensor
    4. Filling heart rate gaps
    5. Running or cycling?
    6. Access to the mountains

Key terms

GNSSGlobal Navigation Satellite System: GPS, Galileo, GLONASS, BeiDou and similar. Sports watches and phones use them to estimate position.
TrackThe sequence of positions (and usually elevations and times) recorded during an activity, normally stored as a GPX file. The metrictrails package calls it a stream.
RouteA path drawn on a map, for example with an online route builder, rather than recorded in the field.
Spatial resolutionThe horizontal distance between consecutive points of a track.
Elevation gainThe sum of all the climbing along a track (also called cumulative elevation gain, total ascent or D+).
DEMDigital elevation model: a grid that gives the elevation of the ground at every location.
LidarLaser scanning, usually from aircraft, that maps the ground surface in fine detail.
km-effortHorizontal kilometres plus one kilometre for every 100 m of elevation gain, used by ITRA to classify races.
Standard trackA track that has been cleaned, resampled to a known spatial resolution and given elevation from a common DEM, so that it can be compared with other standard tracks.
MT standardMT-1, MT-5 or MT-50: the finest spatial resolution, in metres, that a track supports.

References

  1. Sanchez, R., Egli, P. E., Jornet, K., Duggan, M., & Besomi, M. (2025). How fractal complexity distorts distance and elevation gain in trail and mountain running: the case for course measurement standardization. Proceedings of the Institution of Mechanical Engineers, Part P: Journal of Sports Engineering and Technology. Preprint: SportRxiv. doi.org/10.1177/17543371251341660
  2. Sanchez, R., Nieto-Jimenez, C., & Riveros-Matthey, C. (2025). High-precision mapping of mountain terrain for human locomotion research: a multimodal geospatial framework. 15th IEEE International Conference on Pattern Recognition Systems (ICPRS), Viña del Mar. doi.org/10.1109/ICPRS66293.2025.11302827