[OSM-dev] Delete a node

Shaun McDonald shaun at shaunmcdonald.me.uk
Sun Dec 13 19:34:17 GMT 2009


On 13 Dec 2009, at 19:29, Anthony wrote:

> ant to delete node id 54321 with tags foo=bar and bar=baz, then you send:
> 
> DELETE /api/0.6/node/54321
> 
> with content:
> 
> <osm>
> <node id="54321">
>   <tag k="foo" v="bar"/>
>   <tag k="bar" v="baz"/>
> </node>
> </osm>
> 
> I thought you needed the version (and I forget if it's the new version or the old version).  Will it really work without the version? 

It's the version of the item that you have downloaded. (i.e. the old version).

Your welcome to add clarifications to the API docs to improve them for others.

Shaun

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20091213/2ff6632f/attachment.html>


More information about the dev mailing list