NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

7
2

Is there a fast way to export route-relation form OSM as GPX or KML file? All descritpions I found seemed to be outdated.

asked 25 Jun '13, 14:53

Ogmios's gravatar image

Ogmios
766202639
accept rate: 25%


You can also do this with Overpass Turbo. Take this example, change the relation ID to the one you need and Run. Then you can Export to any number of formats, including GPX and KML.

permanent link

answered 13 Jun '16, 08:46

joost%20schouppe's gravatar image

joost schouppe
3.4k245087
accept rate: 12%

Thanks, thats the best way until now.

(13 Jun '16, 16:37) Ogmios
12

One possible way to export GPX is:

  1. identify the relation ID of the route you want (if need be, use a search engine and search for "openstreetmap relation somthing other")
  2. download JOSM editor
  3. in JOSM, select "File -> Download Object"
  4. choose "Object type" = "relation", check "Download relation members"
  5. click "Download object"
  6. select "File -> export to GPX"
permanent link

answered 25 Jun '13, 15:15

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

1

This worked great for me with the only minor change since this was posted being step 6, was File -> Save As, and then select GPX Files in the Files of Type dropdown menu.

I'm using JOSM v10327.

(10 Jun '16, 19:53) keithonearth

Since the beginning of this year, JOSM's "Relations window" (https://josm.openstreetmap.de/wiki/Help/Dialog/RelationList) allows direct "flattening" and export of gpx files from listed relations

(09 Mar '18, 19:35) Hjart

If it is one of the kind of routes that are displayed on waymarkedtrails.org, then browse to your route. Click on "routes" in the bottom right corner. Pick the route from the list and click on the "GPX" button.

permanent link

answered 25 Jun '13, 22:54

cartinus's gravatar image

cartinus
7.0k1066105
accept rate: 27%

A useful tool to export a relation is the Route Manager : http://osmrm.openstreetmap.de/ This concatenate the contiguous sections for you, then lets you select the sections to build a contiguous route. You can then export your so-called personal route in a GPX file. This handles alternate routes nicely however when you hit a roundabout way you can only turn back.

permanent link

answered 22 Oct '15, 14:01

naomap's gravatar image

naomap
111
accept rate: 0%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×315
×255
×236
×49

question asked: 25 Jun '13, 14:53

question was seen: 28,079 times

last updated: 09 Mar '18, 19:35

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum