You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: immanuel.scholz[at]gmx.de [Submitted to the original trac issue database at 4.50pm, Wednesday, 22nd March 2006]
The new .../traces/ urls are awesome!
I REALLY like to have an xml based access within the API to them. They are much more usefull for drawing stuff than the .../trackpoint - api, since you see all the metadata (the comments, who made them etc) and most important: you see the tags! ;)
As example, the following URL's could be accessible via .../api/0.x/... (all requests return XML):
||Access|| URL || Comment ||
||GET||user ||list of all usernames that have public gpxses||
||GET||user/ ||list of all ids of public gpx files for this user||
||GET||user/ ||get the specific trace file (as raw file, not preparsed)||
||PUT||user/0?name=...||new public track (have to specify the url format)||
||PUT||user/?... ||update the track properties||
||GET||tag ||list of all tags used so far||
||GET||tag/ ||get all traces that have this tag||
||...
I think the way with the additional URL parameter to specify the metadata for GPX traces on upload is easier to implement than some cool XML embedding or even session-like stuff. But if something implements it, I am fine with this too ;-)
Imi.
The text was updated successfully, but these errors were encountered:
Author: immanuel.scholz[at]gmx.de [Added to the original trac issue at 6.32pm, Saturday, 25th March 2006]
While I was thinking about this...
why not just use a subversion archive to store the GPX files from users? NO, really.. think about it...
hirarchical ordered
access can be maintained easily by the subversion's operating system. Readonly access as well as read-write
Any metadata can be handled by the subversion property system. Metadata to directories could be interpreted as "stand for all things containing in here"
Reporter: immanuel.scholz[at]gmx.de
[Submitted to the original trac issue database at 4.50pm, Wednesday, 22nd March 2006]
The new .../traces/ urls are awesome!
I REALLY like to have an xml based access within the API to them. They are much more usefull for drawing stuff than the .../trackpoint - api, since you see all the metadata (the comments, who made them etc) and most important: you see the tags! ;)
As example, the following URL's could be accessible via .../api/0.x/... (all requests return XML):
All URL's start with www.openstreetmap.org/api/0.x/traces/
||Access|| URL || Comment ||
||GET||user ||list of all usernames that have public gpxses||
||GET||user/ ||list of all ids of public gpx files for this user||
||GET||user/ ||get the specific trace file (as raw file, not preparsed)||
||PUT||user/0?name=...||new public track (have to specify the url format)||
||PUT||user/?... ||update the track properties||
||GET||tag ||list of all tags used so far||
||GET||tag/ ||get all traces that have this tag||
||...
I think the way with the additional URL parameter to specify the metadata for GPX traces on upload is easier to implement than some cool XML embedding or even session-like stuff. But if something implements it, I am fine with this too ;-)
Imi.
The text was updated successfully, but these errors were encountered: