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

I'd like the same thing than what's here (more a less) : http://wiki.openstreetmap.org/wiki/API_v0.6#GPS_Traces

1/ but in XAPI I don't want to log in just for retrieving gps traces.

2/ and I just need the IDs Here what I have from your exemple with api v0.6
<trk>
<name>20110625.gpx</name>
<desc> support ride</desc>
<url>api.openstreetmap.org/trace/1040543/view</url>

<trkpt lat="51.631283" lon="3.3e-05">
<time>2011-06-25T08:57:54Z</time>
</trkpt>

<trkpt lat="51.631257" lon="9.6e-05">
<time>2011-06-25T08:57:55Z</time>
</trkpt>

...
...
</trk>

here is what I wish (more or less) ... I fact I don't need to overload your server with long resquest when I just need the ID.
<trk>
<name>20110625.gpx</name>
<desc> support ride</desc>
<url>api.openstreetmap.org/trace/1040543/view</url>
</trk>

or even better
<trk>
<name>20110625.gpx</name>
<desc> support ride</desc>
<url>api.openstreetmap.org/trace/1040543/view</url>
<id>1040543</id>
</trk>

Why ? because I am developing a small tool for android named "Osm Mapper Helper", and I'd like to spot roads, streets already having good traces (not too old, with small point interval ). I'd like to filter traces younger than 12months, 18months, 24months.... why ? (again) because where I live (for the moment) every thing's changing quickly. Most of the atlas you buy are wrong !!! With an Id list, I can easily detect what's already available and what's new a bounding box.

asked 02 Aug '11, 13:49

Fabyen's gravatar image

Fabyen
216276
accept rate: 100%

edited 02 Aug '11, 16:33

dieterdreist's gravatar image

dieterdreist
3.7k113567


Neither XAPI nor the new Overpass API seem to support GPS traces. Hence you have to get them through the OSM API.

permanent link

answered 02 Aug '11, 18:47

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

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
×68
×32

question asked: 02 Aug '11, 13:49

question was seen: 6,780 times

last updated: 02 Aug '11, 18:47

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