[Openstreetmap-dev] REST

Tom Carden tom at tom-carden.co.uk
Mon Jul 18 15:17:16 BST 2005


SteveC wrote:
>
> URL http://www.openstreetmap.org/api/node/1234
>

That's lovely - more please.  But for 5000 nodes?

> GET URL - lat/lon, last edited time/user
> PUT URL - update the above
> DELETE - delete...
>
> how do we deal with resurecting a previously deleted node?
>

Don't delete it, just hide it?  i.e. That particular node URI would still 
work, but that node wouldn't be returned with requests for *current* map 
data.

How's it dealt with in the database?  For that matter, how does versioning 
work in general, and what were your thoughts on exposing editing history on 
openstreetmap.org?

Tom.






More information about the dev mailing list