How to measure the length of all railway track per country?

I want to generate a table like this List of countries by rail transport network size - Wikipedia but using the length of tracks in OSM. How to do this?

Perhaps the overpass API can help but I could not find a good introduction to it. Suggestions are welcome.

2 posts - 2 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/how-to-measure-the-length-of-all-railway-track-per-country/103078