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

Hello

I uploaded bunch of GPX traces using batch upload but I accidentally left visibility to PUBLIC instead of IDENTIFIABLE. I would like to use API to fix it, but I found nothing there about updating the metadata. I can do it on the webpage, but the list is too long. Is there some API-like way to do it?

Thanks

asked 31 Oct '11, 19:54

Martin's gravatar image

Martin
75226
accept rate: 0%


Yes, you can update the metadata of the GPX trace via the API. Simply PUT the new details to api/0.6/gpx/[id of trace]. If you need to see the format of the XML required to do this, GET the same URL first.

To get a list of all the traces that you have uploaded already, then GET /api/0.6/user/gpx_files

Some additional resources to help you are

permanent link

answered 01 Nov '11, 08:28

Andy%20Allan's gravatar image

Andy Allan
12.5k23128153
accept rate: 28%

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
×255
×5

question asked: 31 Oct '11, 19:54

question was seen: 4,037 times

last updated: 01 Nov '11, 08:28

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