Opened 7 years ago

Last modified 7 years ago

#3947 assigned enhancement

Download gpx api

Reported by: Fabyen Owned by: rails-dev@…
Priority: trivial Milestone: Wishlist
Component: api Version:
Keywords: gpx Cc:

Description

I put priority 'minor' (because it's true), but it's important to me, and it's so easy to do for you guys, so please consider it ;-)

I'd almost 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.
For instance, here is 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.

Change History (10)

comment:1 follow-up: Changed 7 years ago by TomH

  • Resolution set to wontfix
  • Status changed from new to closed

If it's so easy then you'll already know how to do it and be writing the patch I assume.

comment:2 in reply to: ↑ 1 Changed 7 years ago by Fabyen

Replying to TomH:

If it's so easy then you'll already know how to do it and be writing the patch I assume.

Well it's so easy to develop that server side. Of course I can download everything for the server, I get only what I need but it's stupid. I will download KB, or MB of data when I just need few bytes...

Server side, it's just the same thing you already provide, but you don't spit all the data.

In fact, did you read the ticket ?
Do you mean, do the patch you ll put it server side ?
Could you argue better, to remove my enhanced request ?

Your answer is not at all friendly... :-(

comment:3 Changed 7 years ago by Fabyen

Well, I am not cristal clear ...
I say it again :

Do you mean "Do the patch, and then we'll put that on the server" ?

comment:4 Changed 7 years ago by TomH

I mean that it is not the place of people requesting enhancements to opine on how easy or hard they might be or otherwise tell people that they are expecting to do work for them how to go about it.

Basically, don't be a clever dick arsehole in your tickets and they're far more likely to get attention. That goes double when you're asking for an enhancement rather than reporting a bug.

The only way you could know whether it would be "easy" would be to actually do it, in which case you would have a patch for the server code to share with me. As you obviously don't that can only have been uninformed guesswork on your part.

comment:5 Changed 7 years ago by Fabyen

Well I don't want to argue too much with you because we are both loosing time ... but...

1/ do you know you're rude ? you said "clever dick arsehole" really ? I deserve that (..humm how do you say in english) those words ? just because as a java developer myself (and not a beginner), I assume it's an easy job to do the feature I asked for ?!?
I mean, I just ask to NOT display <trkpt> tags in the xml output ?!?

2/ Do I need to open a new ticket, or would you re-open this one ? Or I reopen myself ? In order to keep this feature request..

comment:6 Changed 7 years ago by TomH

  • Resolution wontfix deleted
  • Status changed from closed to reopened

comment:7 Changed 7 years ago by TomH

  • Priority changed from minor to trivial

comment:8 Changed 7 years ago by TomH

  • Owner changed from tom@… to phantom.coder@…
  • Status changed from reopened to assigned

comment:9 Changed 7 years ago by Fabyen

thank you.

comment:10 Changed 7 years ago by TomH

  • Owner changed from phantom.coder@… to rails-dev@…
Note: See TracTickets for help on using tickets.