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

I've uploaded hundreds of GPS Traces to OSM throughout 2011 and 2012. Until a few months ago, I forgot to save them locally on my computer after uploading them to OSM.

I'd like to do some Visualizations with them. (Ideally, I'd like to select ones by tag as well).

How could I download all of them (besides manually opening every individual trace and then manually downloading them in a web browser) ?

If this isn't easily feasible at the moment, is there anything else in the API (I'm just beginning to look into Downloading Trace Metadata) that would help me to do this ?

asked 22 Apr '12, 22:45

skorasaurus's gravatar image

skorasaurus
1.4k153137
accept rate: 12%

edited 22 Apr '12, 22:46


There's no one-click way of downloading all your traces, but a little scripting work can get them for you. The list of traces you've uploaded is available in XML format at http://api.openstreetmap.org/api/0.6/user/gpx_files (you might be prompted for your username and password). Extract the URLs from that XML and feed them into something like curl or wget, and you should be able to get all your traces back without having to click on each one in the web interface.

permanent link

answered 23 Apr '12, 19:32

Jonathan%20Bennett's gravatar image

Jonathan Ben...
8.3k1785108
accept rate: 18%

The latest version of Viking v1.4 has a feature to download ones own GPS Traces.

http://sourceforge.net/projects/viking

In the program itself use File->Acquire->My OSM Traces...

This will get a list of all your traces, from this list one can then select the traces you want to get and they will be downloaded into Viking.

Admittedly ATM there is no simple way to then export all traces out to GPX files (other than doing it one by one).

permanent link

answered 23 Mar '13, 01:59

robbieonsea's gravatar image

robbieonsea
90411325
accept rate: 16%

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:

×290
×235
×68

question asked: 22 Apr '12, 22:45

question was seen: 5,498 times

last updated: 23 Mar '13, 01:59

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