[Openstreetmap-dev] Applet hacking

David Sheldon dave-osm at earth.li
Fri Feb 17 14:57:34 GMT 2006


On Fri, Feb 17, 2006 at 03:46:48PM +0100, Immanuel Scholz wrote:
> Hi,
> 
> > - Change the newsegment API so that the segment IDs are returned on
> > separate lines, as is the case for newnode at the moment.
> 
> I'd prefere to return the whole, filled data object. It isn't that much on
> data and offline clients need to get updated informations (in case of the
> server may change some values. Hint: rounding ;-)

I agree. Returning the data would be nice. 

> > - For osmeditor's purposes, it might be good to put that 'batch upload'
> > script (forget the name) that I put in SVN a while back, the one where you
> > can PUT multiple nodes and segments to the server at once. T
> 
> vote++

I'm sure I saw something that already does this in svn. dataset.rb It apears
to do both what newnode and newsegment do, and allows you to upload a
set of nodes and segments in a single command. If we make that return
the filled-in structures of what you uploaded, will it do the job?

> > - Change the "upload GPX" interface so that it is a PUT call, just like
> > 'node', 'newnode', 'segment', 'newsegment' etc. In other words, allow GPX
> > to be uploaded through the API direct.
> 
> vote++

It would be nice if this was just an additional method, as some people
do still use the retro web upload system. If it becomes an API call, how
will the queuing work?


David
-- 
"[Hackers] then only have to crack the password to take control"
  -- IT Week on a terrible Unix security flaw




More information about the dev mailing list