You are not logged in.
- Topics: Active | Unanswered
Announcement
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
Pages: 1
#1 2018-03-27 21:13:13
- cyclegiant
- New Member
- Registered: 2018-03-27
- Posts: 1
Export route to GPX file
How do I export a route created within openstreetmap to a GPX file that I can then import to my Garmin GPS device?
Offline
#2 2018-03-27 21:44:21
- GerdP
- Member
- Registered: 2015-12-18
- Posts: 1,972
Re: Export route to GPX file
I think the interface at openstreetmap.org don't offer to download the route. You may try e.g.
https://graphhopper.com/maps/
instead or
https://www.gpsies.com/createTrack.do
Both allow to download the track as gpx. Garmin tools (Basecamp, Mapsource) allow to convert a track to a route if you prefer that.
Gerd
Offline
#3 2018-03-28 04:16:44
- escada
- Moderator

- Registered: 2011-08-13
- Posts: 1,754
Re: Export route to GPX file
https://hiking.waymarkedtrails.org allows you to export mapped hiking routes.
An alternative is directly using osmrm.openstreetmap.org with the ID of the hiking relation, as the GPX links on e.g. https://wiki.openstreetmap.org/wiki/Wik … s_Flanders do
Offline
#4 2021-06-12 21:08:56
- ddmitri
- New Member
- Registered: 2021-06-12
- Posts: 1
Re: Export route to GPX file
The simplest way to export OSM path to GPX file is to use overpass-trubo page.
Btw, in OSM terms, path are represented as Way structures, a simple list of node coordinates.
Open OSM, use search to navigate to the path (way) you want. For example, i used this one: https://www.openstreetmap.org/way/762977045
The open https://overpass-turbo.eu/. In the left part of the screen you'll need to type following query, using the way ID form OSM page:
way(762977045);
out geom;
Click Run and then Export -> download/copy as GPX
I have read couple of threads about this topic and I find it strange as none of them will provide such a clear an easy example. I guess many people will need to export some paths form OSM into GPX, and I hope this answer will help them
Offline
Pages: 1