[OSM-dev] Strange: nodes appearing at Lat 0 Lon 0 - Additional Info

Marc Schütz schuetzm at gmx.net
Wed Aug 6 20:59:18 BST 2008


Am Mittwoch, 6. August 2008 21:43 schrieb Tom Hughes:
> m*sh wrote:
> > I m sending this xml-structure as a stream
> > -------------------cut-------------------------
> > <?xml version="1.0" encoding="UTF-8"?>
> > <osm version="0.5" generator="yMap">
> > <node id="278952579">
> > </node>
> > </osm>
> > -------------------cut--------------------------
> >
> > Using this:
> >
> > 'http://api.openstreetmap.org/api/0.5/node/nnnnnn'
> >
> > URL - where nnnnnn is the ID of the node
> >
> > The HTTP-Request-Method is DELETE.
>
> No, the request method is PUT which is why they aren't being deleted.
>

The API specification says otherwise:
http://wiki.openstreetmap.org/index.php/OSM_Protocol_Version_0.5#Basic_Methods_for_Object_Access_and_Manipulation

> You should stop using yMap (whatever that is) until it is fixed...
>

If I'm reading the API specs correctly, there shouldn't be a payload on 
DELETE.

Regards, Marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20080806/e5d8cdef/attachment.pgp>


More information about the dev mailing list