[OSM-dev] delete element question

Thomas Emge temge at esri.com
Mon Apr 26 04:59:04 BST 2010


I am currently working against the development server and was wondering about the delete operation of an element

DELETE /api/0.6/[node|way|relation]/#id
http://wiki.openstreetmap.org/wiki/API_v0.6#Delete:_DELETE_.2Fapi.2F0.6.2F.5Bnode.7Cway.7Crelation.5D.2F.23id

When I issue a node delete request with the following payload

<osm version="0.6">
<node visible="true" changeset="3722" version="4" id="3199238" />
</osm>

I am getting a 400 code back with

Cannot parse valid node from xml string <node visible="true" changeset="3722" version="4" id="3199238"/>. lat missing

Is that a peculiarity of the dev server or do nodes require different syntax than ways and relations?

Thanks,


-          Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20100425/472d8136/attachment.html>


More information about the dev mailing list