Where the data comes from
Most of what mypb.run shows is yours, or was written by people in its event catalog. Two kinds of data come from elsewhere — what the ground is like along a race course, and the terrain a course is drawn over in three dimensions — and this page says where they come from, under what licence, and how they are used.
OpenStreetMap
The surface and difficulty of a course's legs come from OpenStreetMap, © OpenStreetMap contributors. The data is available under the Open Database License (ODbL), and so is what mypb.run derives from it as described below.
mypb.run reads a copy of OpenStreetMap that it runs itself. The copy is refreshed from time to time rather than kept live, so a path changed on the map recently may not show yet; where the copy states its date, the credit beside the legs gives it.
How a course is read
Each course is read once. Its line is cut into windows of 10 km, and for each window mypb.run asks for every mapped way close to the line, leaving out ways marked proposed, construction, abandoned, razed, platform.
The course is then sampled every 10 m. Each sample is placed on the nearest way within 25 m that runs in the course's direction, within 45° either way, so a road the course only crosses is never taken for the one it follows. The way the previous sample was on is kept unless another is nearer by more than 10 m, and a piece shorter than 30 m between two pieces of one other way — a junction or a crossing — counts as that way. Where no way qualifies, the course runs across unmapped ground.
This is version 2 of the method. When it changes, every course is read again.
Surface
A way's surface is read from its surface tag into one of the groups below. Any other value counts as untagged.
Without a surface, a track's tracktype decides, as the table's last column shows.
Without either, a road whose highway is motorway, trunk, primary, secondary, tertiary, motorway_link, trunk_link, primary_link, secondary_link, tertiary_link counts as asphalt or concrete.
Asphalt or concrete, paving or cobbles and boardwalk are paved; gravel, dirt or grass and rock are unpaved. A leg's paved and unpaved shares are the sums of their groups.
Everything else is untagged. A path, a forest road or a street without a surface is often unpaved in the mountains and often paved in a town, so mypb.run does not guess. Unmapped ground is untagged too.
| Group | Counts as | surface |
tracktype |
|---|---|---|---|
| asphalt or concrete | paved | paved, asphalt, chipseal, concrete, concrete:plates, concrete:lanes |
grade1 |
| paving or cobbles | paved | paving_stones, sett, unhewn_cobblestone, cobblestone |
— |
| boardwalk | paved | wood, metal, rubber |
— |
| gravel | unpaved | unpaved, compacted, fine_gravel, gravel, pebblestone |
grade2, grade3 |
| dirt or grass | unpaved | ground, dirt, earth, grass, grass_paver, mud, sand, woodchips, snow, ice, salt |
grade4, grade5 |
| rock | unpaved | rock |
— |
Kinds of way
Every way carries a highway tag, so the kind of way is known for nearly all of a course even where its surface is not. Ground along no mapped way is unmapped, and any value not listed below counts as other ways. A forest road is OpenStreetMap's track, a forest or farm road.
| Kind of way | highway |
|---|---|
| road | motorway, trunk, primary, secondary, tertiary, motorway_link, trunk_link, primary_link, secondary_link, tertiary_link, unclassified, residential, living_street, service, pedestrian, road, busway |
| forest road | track |
| path | path, footway, bridleway, cycleway, via_ferrata, corridor |
| steps | steps |
Difficulty grades
A way's grade is its sac_scale tag, the Swiss Alpine Club's hiking scale from T1 to T6. A way without one, or with a value outside the scale, has no grade.
sac_scale |
Grade |
|---|---|
hiking |
T1: hiking |
mountain_hiking |
T2: mountain hiking |
demanding_mountain_hiking |
T3: demanding mountain hiking |
alpine_hiking |
T4: alpine hiking |
demanding_alpine_hiking |
T5: demanding alpine hiking |
difficult_alpine_hiking |
T6: difficult alpine hiking |
What a leg shows
A leg's shares are the parts of its length that are paved, unpaved and untagged, and they add up to the whole leg. A leg is measured along the course between its two stops, placed at their published distances exactly as the leg's climb is.
A leg's hardest grade is the highest grade covering at least 100 m of it, or 5% of a shorter leg, so a few metres of a harder way at a junction do not make the leg harder. Beside it is the share of the leg at T3 or harder.
Kept apart from the catalog
What is read from OpenStreetMap is kept beside each course and never written into the event catalog — not into a course, an aid station or a cutoff. Those come from organisers and the people who edit the catalog.
The derived data
The stretches mypb.run derives — for each course, which way each part of it follows and how that way is classified — are available under the ODbL. Write to privacy@mypb.run to ask for them.
Terrain
The three-dimensional view of a course draws the ground from a terrain archive that mypb.run holds and serves itself. It is an extract of build 0.0.13 of Mapterhorn's terrain, downloaded on October 19, 2026, covering 34°N to 71°N, 25°W to 44°E at zoom levels 0 to 12. Outside that region the view draws the course over flat ground. Terrain is drawn only for a race course, never for your own routes.
The terrain is © Mapterhorn, which combines the open elevation models listed below — national terrain models from airborne laser scanning where a country publishes one, and a global model everywhere else.
The global model is Copernicus GLO-30: © DLR e.V. 2010–2014 and © Airbus Defence and Space GmbH 2014–2018, provided under COPERNICUS by the European Union and ESA; all rights reserved.
These are the sources of the build, each with its producer and licence. A build covers the whole world, so some of them describe places outside the region held.
| Source | Producer | Licence |
|---|---|---|
| Digital terrain model | Latvijas Ģeotelpiskās informācijas aģentūra | Creative Commons Attribution 4.0 |
| 2024 edition of the 20-meter grid digital terrain model Taiwan | Department of Land Administration, MOI | Open Government Data License, version 1.0 |
| Digitales Geländehöhenmodell (ALS-DGM) - Höhenraster | BEV - Bundesamt für Eich- und Vermessungswesen | CC-BY-4.0 |
| Digital Elevation Modell (DEM) Austria | geoland.at, Land Kärnten. | CC-BY-4.0: Land Kärnten - data.gv.at |
| Digitales Geländemodell 5 Meter - Burgenland | burgenland.at. Land Burgenland | Creative Commons Namensnennung 4.0 International (CC BY 4.0) |
| Digitales Gelände- und Oberflächenmodell Kärnten | ktn.gv.at. Land Kärnten | CC-BY-4.0: Land Kärnten - data.gv.at |
| Digitales Geländemodell (DGM) Land Oberösterreich | land-oberoesterreich.gv.at. Land Oberösterreich | Creative Commons Namensnennung 4.0 International (CC BY 4.0) |
| Digitales Geländemodell 1 m (DGM) Land Salzburg | salzburg.gv.at. Land Salzburg | Creative Commons Namensnennung 4.0 International (CC BY 4.0) |
| Digital Elevation Model (DEM) of Australia derived from LiDAR 5 Metre Grid | Geoscience Australia | CC BY 4.0 |
| Tasmanian 2 metre Digital Elevation Model | The LIST ©State of Tasmania. Downloaded via Source Coop. | CC BY 3.0 |
| Digitaal Hoogtemodel Vlaanderen II, DTM, raster, 1 m | agentschap Digitaal Vlaanderen | Model license for free reuse |
| Relief de la Wallonie - Modèle Numérique de Terrain (MNT) 2021-2022 | Service public de Wallonie (SPW) | CC-BY 4.0 |
| Canada DTM 2018-2024 | Natural Resources Canada | Open Government Licence - Canada |
| DTM Kanton Zürich | Kanton Zürich, Amt für Raumentwicklung, Abteilung Geoinformation | CC0 |
| Cyprus DTM 2019 | Τμήμα Κτηματολογίου και Χωρομετρίας | CC BY 4.0 |
| Digital Terrain Model of the Czech Republic, 4th generation (DMR 4G), INSPIRE theme Elevation (EL) - GRID 5 m | cuzk.gov.cz. Land Survey Office | CC-BY 4.0 |
| Digitales Geländemodell 1m (DGM1) | Bayerische Vermessungsverwaltung | CC BY 4.0 |
| Digitale Geländemodelle - ATKIS DGM | Senatsverwaltung für Stadtentwicklung, Bauen und Wohnen Berlin | Datenlizenz Deutschland - Zero - Version 2.0 |
| Digitales Geländemodell 1m Brandenburg | GeoBasis-DE / LGB | Datenlizenz Deutschland - Namensnennung - Version 2.0 |
| ATKIS - DGM1 Land Bremen | Landesamt GeoInformation Bremen | CC-BY-4.0 |
| DGM 1 Baden-Württemberg | LGL, www.lgl-bw.de, dl-de/by-2-0 | Datenlizenz Deutschland - Namensnennung - Version 2.0 |
| Baden-Württemberg DGM ALS_3 | LGL, www.lgl-bw.de, dl-de/by-2-0 | Datenlizenz Deutschland - Namensnennung - Version 2.0 |
| Digitales Höhenmodell Hamburg DGM 1 | Freie und Hansestadt Hamburg, Landesbetrieb Geoinformation und Vermessung (LGV) | Datenlizenz Deutschland - Namensnennung - Version 2.0 |
| ATKIS-DGM 1 | Hessisches Ministerium für Umwelt, Klimaschutz, Landwirtschaft und Verbraucherschutz | Datenlizenz Deutschland - Zero - Version 2.0 |
| Digitales Geländemodell 1m (DGM1) Mecklenburg-Vorpommern | © GeoBasis-DE/M-V 2025 | CC BY 4.0 |
| Digitales Geländemodell 1m (DGM1) | Landesamtes für Geoinformation und Landesvermessung Niedersachsen (LGLN) | CC BY 4.0 |
| Digitales Geländemodell - Rasterweite 1 m | Ministerium des Innern des Landes Nordrhein-Westfalen | Datenlizenz Deutschland - Zero - Version 2.0 |
| Digitales Geländemodell Gitterweite 1 m | ©GeoBasis-DE / LVermGeoRP 2025 | DL-DE->BY-2.0 |
| DGM 1 Saarland | GeoBasis DE/LVGL-SL 2025 | Datenlizenz Deutschland – Namensnennung – Version 2.0 |
| Digitales Geländemodell (DGM1) | GeoSN, dl-de/by-2-0 | Datenlizenz Deutschland - Namensnennung - Version 2.0 |
| DGM - Digitales Geländemodell | Landesamt für Vermessung und Geoinformation Sachsen-Anhalt (LVermGeo) | Datenlizenz Deutschland - Namensnennung - Version 2.0 |
| DGM 1 Schleswig-Holstein | © GeoBasis-DE/LVermGeo SH/CC BY 4.0 | CC BY 4.0 |
| DGM 1 Thüringen | © GDI-Th | Datenlizenz Deutschland - Namensnennung - Version 2.0 |
| Danmarks Højdemodel - Terræn | Klimadatastyrelsen Danmark | CC BY 4.0 |
| DTM hæddarmodell | The Faroese Environment Agency, Umhvørvisstovan | Open Government Data |
| Elevation model Greenland | Klimadatastyrelsen Danmark | CC BY 4.0 |
| Elevation Data Estonia 1m | Elevation data 2021-2024, Republic of Estonia Land and Spatial Development Board | Republic of Estonia Land and Spatial Development Board opendata licence 2025 |
| Modelo Digital del Terreno - MDT02 | MDT02-cob2 2015-2021 CC-BY 4.0 scne.es | CC BY 4.0 |
| Digital Terrain Model 1st Coverage with 5 m grid spacing | CC-BY 4.0 scne.es 2025 | CC BY 4.0 |
| Modelo Digital del Terreno - MDT50 | CC-BY 4.0 scne.es 2022-2025 | CC BY 4.0 |
| Elevation model 2 m | National Land Survey of Finland 2025. Downloaded via GeoCubes. | Attribution 4.0 International (CC BY 4.0) |
| MNT LiDAR HD | Institut national de l'information géographique et forestière IGN | Licence Ouverte / Open Licence version 2.0 |
| RGE ALTI® 1m Guadeloupe, Martinique | Institut national de l'information géographique et forestière IGN | Licence Ouverte / Open Licence version 2.0 |
| RGE ALTI® 1m Corsica | Institut national de l'information géographique et forestière IGN | Licence Ouverte / Open Licence version 2.0 |
| RGE ALTI® 1m French Guiana | Institut national de l'information géographique et forestière IGN | Licence Ouverte / Open Licence version 2.0 |
| RGE ALTI® 1m Mayotte | Institut national de l'information géographique et forestière IGN | Licence Ouverte / Open Licence version 2.0 |
| RGE ALTI® 1m Metropolitan France | Institut national de l'information géographique et forestière IGN | Licence Ouverte / Open Licence version 2.0 |
| RGE ALTI® 1m Reunion | Institut national de l'information géographique et forestière IGN | Licence Ouverte / Open Licence version 2.0 |
| RGE ALTI® 1m Saint Pierre and Miquelon | Institut national de l'information géographique et forestière IGN | Licence Ouverte / Open Licence version 2.0 |
| RGE ALTI® 5m Guadeloupe, Martinique | Institut national de l'information géographique et forestière IGN | Licence Ouverte / Open Licence version 2.0 |
| RGE ALTI® 5m Corsica | Institut national de l'information géographique et forestière IGN | Licence Ouverte / Open Licence version 2.0 |
| RGE ALTI® 5m French Guiana | Institut national de l'information géographique et forestière IGN | Licence Ouverte / Open Licence version 2.0 |
| RGE ALTI® 5m Mayotte | Institut national de l'information géographique et forestière IGN | Licence Ouverte / Open Licence version 2.0 |
| RGE ALTI® 5m Metropolitan France | Institut national de l'information géographique et forestière IGN | Licence Ouverte / Open Licence version 2.0 |
| RGE ALTI® 5m Reunion | Institut national de l'information géographique et forestière IGN | Licence Ouverte / Open Licence version 2.0 |
| RGE ALTI® 5m Saint Pierre and Miquelon | Institut national de l'information géographique et forestière IGN | Licence Ouverte / Open Licence version 2.0 |
| COPERNICUS GLO-30 | DLR e.V. 2010-2014, Airbus Defence and Space GmbH 2014-2018, provided under COPERNICUS by the European Union and ESA. All rights reserved. Accessed via OpenTopography and AWS Open Data. | COPERNICUS full, free and open license |
| ÍslandsDEM útgáfa 1.0 | Natural Science Institute of Iceland | CC BY 4.0 |
| 10 meter Digital Elevation Model (DEM) of Israel | ASTER GDEM courtesy of METI and NASA processed by 4cast LTD using VTbuilder | ASTER GDEM Public Domain |
| Modello Digitale del Terreno (DTM) | Dati estratti dal Modello Digitale del Terreno (DTM) della Regione Autonoma Valle d'Aosta | CC BY 4.0 |
| Digitales Geländemodell (DGM 2,5m) | Amt für Landesplanung und Kartografie, Autonome Provinz Bozen | Creative Commons CCZero |
| DTM 5X5 - Modello digitale del terreno (ed. 2015) | Regione Lombardia | CC BY 4.0 |
| RIPRESA AEREA ICE 2009-2011 - DTM 5 | Regione Piemonte - A1613B - Sistema informativo territoriale e ambientale | CC BY 4.0 |
| DTM e DSM passo 1 m fascia costiera 2008 | Regione Autonoma della Sardegna | CC-BY 4.0 |
| DTM e DSM passo 1 metro dei centri urbani interni della Sardegna volo 2013 | Regione Autonoma della Sardegna | CC-BY 4.0 |
| Modello digitale del terreno (MDT) 2m - Volo ATA 2012 2013 | Regione Siciliana - Assessorato del Territorio e dell'Ambiente - Area 2 Interdipartimentale - Nodo Regionale S.I.T.R | CC-BY 4.0 |
| LiDAR PAT 2014 integrato con voli 2018 ed il LiDAR 2011 di Campolongo | Provincia Autonoma di Trento - Ufficio Sistemi Informativi - Servizio autorizzazioni e valutazioni ambientali | CC BY 2.5 |
| 基盤地図情報(数値標高モデル) | 国土交通省国土地理院 | 国土地理院コンテンツ利用規約/測量法に基づく国土地理院長承認(使用)R 8JHs 131 |
| LiDAR 2019 - Modèle numérique de terrain (MNT) | Administration du cadastre et de la topographie Luxembourg | CC0 |
| Actueel Hoogtebestand Nederland, AHN5 5m | AHN.nl | CC BY 4.0 |
| Actueel Hoogtebestand Nederland, Saba, 0.5 m | AHN.nl | CC BY 4.0 |
| Actueel Hoogtebestand Nederland, St. Eustatius, 0.5 m | AHN.nl | CC BY 4.0 |
| Actueel Hoogtebestand Nederland, Bonaire, 0.5 m | AHN.nl | CC BY 4.0 |
| Terrengmodellar (DTM) | Kartverket | CC BY 4.0 |
| Terrengmodell Svalbard (S0 Terrengmodell) | Norwegian Polar Institute | CC BY 4.0 |
| New Zealand LiDAR 1m DEM | Toitū Te Whenua Land Information New Zealand | CC BY 4.0 |
| Numeryczny Model Terenu 1 m | Head Office of Geodesy and Cartography (GUGiK), National Geodetic and Cartographic Resource (PZGiK), Poland | Open Government Data (Art. 40a. geod. i kartogr.) |
| Numeryczny Model Terenu 5 m | Head Office of Geodesy and Cartography (GUGiK), National Geodetic and Cartographic Resource (PZGiK), Poland | Open Government Data (Art. 40a. geod. i kartogr.) |
| Digital Elevation Models of mainland Portugal | Direção-Geral do Território | CC BY 4.0 |
| Modelo Digital do Terreno (MDT) da Ilha da Madeira | Instituto Geográfico Portugês | CC BY 4.0 |
| LAKI II MNT 0.5m | www.geoportal.gov.ro | Romanian Open Government License v1.0 (OGL-ROU-1.0) |
| Rwanda 10m Digital Elevation Model | the National Land Authority (NLA), Water and Sanitation Corporation (WASAC) Ltd., Rwanda through UNDP, EMD, and windPRO | Creative Commons Namensnennung 4.0 International (CC BY 4.0) |
| Markhöjdmodell Nedladdning | Lantmäteriet | CC0 |
| DMR - digitalni model reliefa | Slovenian Environment Agency (ARSO) | Creative Commons Attribution 4.0 |
| DMR v 5.0 | ÚGKK SR | CC BY Creative Commons Attribution („uvedenie autora“) 4.0 |
| swissALTI3D | Federal Office of Topography swisstopo | Open Government Data |
| TINITALY, a digital elevation model of Italy with a 10 meters cell size (Version 1.1) | Istituto Nazionale di Geofisica e Vulcanologia (INGV) | Creative Commons Namensnennung 4.0 International (CC BY 4.0) |
| LIDAR Composite Digital Terrain Model (DTM) - 1m | © Environment Agency | Open Government Licence |
| LiDAR for Scotland Phase 1 - DTM | Scottish Government | Open Government Licence |
| Wales DTM 1m | Welsh Government and NRW | Open Government License |
| 1 meter Digital Elevation Models (DEMs) - USGS National Map 3DEP Downloadable Data Collection | U.S. Geological Survey | Public Domain (U.S. Government Work) |
| 1/3rd arc-second Digital Elevation Models (DEMs) - USGS National Map 3DEP Downloadable Data Collection | U.S. Geological Survey | Public Domain (U.S. Government Work) |