RE: http://www.openstreetmap.org/browse/relation/55450

Is it possible to extract a GPX file from this data? Am I missing something? It seems to me it should be just a matter of pressing a button, but I'm going mad finding the button!

The only alternative I have found is this:

http://pifpafpuf.de/cycleroute/map and tracing it manually.

I am having a difficult time finding a reliable GPS trace of this particular route, and I'd like a pristine version with no POI or anything other than a line to follow.

asked 08 Dec '12, 18:55

davidlewis's gravatar image

davidlewis
31224
accept rate: 0%

edited 09 Dec '12, 08:35

andy%20mackey's gravatar image

andy mackey
11.5k73125255


Downloading OSM data in GPX format is not a core function of the site and there's no button on the OSM web site that does it. OSM makes all the data available but it takes third-party software or web sites to do what you want. I'll try to list a few but if those aren't to your liking you can always code something yourself - the data is there for the taking!

The simplest way to get a GPX for a relation is normally this utility from the German development server:

http://osmrm.openstreetmap.de/gpx.jsp?relation=55450

However for your particular relation it seems to error out. Alternatively there's a perl script called "rel2gpx.pl" which is documented in French and German, but not English, here:

http://mr-unseld.de/?q=de/node/170

There's also the option of loading the relation (via File->Download Object) in the JOSM editor and saving as GPX, however you'll have to combine the individual ways into one before if you want a proper, one-piece GPX. The wayselector plugin may help with that.

If your route were a hiking or cycling route then it could be exported as GPX on http://waymarkedtrails.org/ but that doesn't help you this time.

Manual tracing on the pifpafpuf.de site is certainly a "last resort" option but you could also try one of the routing engines listed on http://wiki.openstreetmap.org/wiki/Routing/online_routers - most of them offer GPX export, and with any luck it is sufficient to define a couple via points along your desired route to find the one.

permanent link

answered 09 Dec '12, 01:01

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
68.3k806231067
accept rate: 24%

I was pretty sure that the 'Relation Analyzer' website (http://ra.osmsurround.org/) used to offer this functionality, but I can't find it any more.

(09 Dec '12, 14:16) Richard ♦
permanent link

answered 13 Feb '17, 04:40

fbax's gravatar image

fbax
41224
accept rate: 0%

Your answer
toggle preview

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:

×221
×37
×12
×2
×1

question asked: 08 Dec '12, 18:55

question was seen: 13,529 times

last updated: 13 Feb '17, 04:40

powered by OSQA