This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How can I download a route in gpx format from open street maps?

1

Good morning, and thanks for help. OSM is wonderful, but unfortunatly I haven't understand how download a gpx file from OSM, after that I have choose a destination... :-( Could you hel me please?

asked 21 Feb '21, 21:08

Apino's gravatar image

Apino
26112
accept rate: 0%

When you say "a route" what do you mean? Perhaps:

  • A signed long-distance foot or bicycle path?

  • Directions by some mode of transport from one place to another place?

(21 Feb '21, 21:30) SomeoneElse ♦
1

Hi and thanks for your answer. I mean the path displayed on the map. I can see, for example, a patch on the map, and at the left I can see the names of the streets. I think that the patch is done, and it should be possible download it... or not :-(?

(21 Feb '21, 21:39) Apino
1
(21 Feb '21, 21:57) SomeoneElse ♦

Sorry for my confusion... :-( Yes, I mean the your second example... Here there's another pach: https://www.openstreetmap.org/directions?engine=graphhopper_bicycle&route=44.4938%2C11.3430%3B44.8394%2C11.1432#map=10/44.6671/11.2335

In this case I can see the patch, but is it possible download? Thanks!

(21 Feb '21, 22:03) Apino
1

I'm afraid I don't know the answer and someone else will have to answer that.

I suspect the answer is "no", and you might need to go to the routing provider, in this case https://graphhopper.com/maps/ . There a GPX export is available.

(21 Feb '21, 22:33) SomeoneElse ♦

Source code available on GitHub .