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

How to export directions to GPX?

1

Hi, I would like to export directions to a GPX file. Can anyone help me?

Thanks

asked 23 Aug '16, 09:34

bunneh's gravatar image

bunneh
36112
accept rate: 0%


2 Answers:

4

The main OSM website doesn't offer GPX exports of the direction services. However you can use these direction services directly, usually they will provide GPX exports themselves:

The wiki has a list of OSM-based online routers where you can find even more direction services.

answered 23 Aug '16, 14:47

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

edited 23 Aug '16, 16:57

1

Thanks for the reply. It seems that http://map.project-osrm.org/ no longer exports to GPX. This ticket explains that the feature was removed. https://github.com/Project-OSRM/osrm-backend/issues/1489

https://graphhopper.com/maps/ will export to GPX.

(23 Aug '16, 15:24) bunneh

Oh, that's a pity :(

(23 Aug '16, 16:46) scai ♦

0

Hi, can you explain how to export to GPX from graphhopper?

answered 18 Jul '20, 12:58

MAK's gravatar image

MAK
1
accept rate: 0%

1

I just tried the graphhopper link that scai provided and it worked fine.
Enter the start point in the first box and select from the list of addresses the search finds, do the same for the destination box, then the route is drawn on a map. Just below the two search boxes there is a ‘gpx’ text link and when you select it you are asked if you want a gpx route, track or waypoints. I selected track and I was offered an option to download to dropbox ... I instead chose ‘more’ options and was able to send it to my email address and it was sent fine and I opened it in Guru maps and it looked ok.

(18 Jul '20, 13:42) nevw