[OSM-dev] Delete a node

2009-12-13 Thread hy-soft
the wiki says: http://wiki.openstreetmap.org/wiki/API_v0.6 Delete: DELETE /api/0.6/[node|way|relation]/#id Expects a valid XML representation of the element to be deleted. --- What exactly does the term 'valid XML representation of the element' mean? Is it the same what I would get when

Re: [OSM-dev] Delete a node

2009-12-13 Thread jamesmikedup...@googlemail.com
yes. I think, at least the node data like id and version. node id=123 version=3 / mike On Sun, Dec 13, 2009 at 6:54 PM, hy-soft hy-s...@sha-mash.de wrote: the wiki says: http://wiki.openstreetmap.org/wiki/API_v0.6 Delete: DELETE /api/0.6/[node|way|relation]/#id Expects a valid XML

Re: [OSM-dev] Delete a node

2009-12-13 Thread Ian Dees
On Sun, Dec 13, 2009 at 1:16 PM, Ævar Arnfjörð Bjarmason ava...@gmail.comwrote: On Sun, Dec 13, 2009 at 17:54, hy-soft hy-s...@sha-mash.de wrote: the wiki says: http://wiki.openstreetmap.org/wiki/API_v0.6 Delete: DELETE /api/0.6/[node|way|relation]/#id Expects a valid XML

Re: [OSM-dev] Delete a node

2009-12-13 Thread Anthony
On Sun, Dec 13, 2009 at 2:23 PM, Ian Dees ian.d...@gmail.com wrote: On Sun, Dec 13, 2009 at 1:16 PM, Ævar Arnfjörð Bjarmason ava...@gmail.com wrote: On Sun, Dec 13, 2009 at 17:54, hy-soft hy-s...@sha-mash.de wrote: the wiki says: http://wiki.openstreetmap.org/wiki/API_v0.6 Delete:

Re: [OSM-dev] Delete a node

2009-12-13 Thread Shaun McDonald
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

Re: [OSM-dev] Delete a node

2009-12-13 Thread Ævar Arnfjörð Bjarmason
On Sun, Dec 13, 2009 at 19:23, Ian Dees ian.d...@gmail.com wrote: On Sun, Dec 13, 2009 at 1:16 PM, Ævar Arnfjörð Bjarmason ava...@gmail.com wrote: On Sun, Dec 13, 2009 at 17:54, hy-soft hy-s...@sha-mash.de wrote: the wiki says: http://wiki.openstreetmap.org/wiki/API_v0.6 Delete: DELETE

Re: [OSM-dev] Delete a node

2009-12-13 Thread Ian Dees
On Sun, Dec 13, 2009 at 1:36 PM, Ævar Arnfjörð Bjarmason ava...@gmail.comwrote: Obviously they aren't hopeless in all cases, but I've frequently run into areas where it has been more useful to just read the source / network sniff than try to figure out what they're talking about. Perhaps

Re: [OSM-dev] Delete a node

2009-12-13 Thread Anthony
On Sun, Dec 13, 2009 at 2:34 PM, Shaun McDonald sh...@shaunmcdonald.me.ukwrote: 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. Thanks for the invite. Unfortunately, I don't know

Re: [OSM-dev] Delete a node

2009-12-13 Thread Ævar Arnfjörð Bjarmason
On Sun, Dec 13, 2009 at 19:38, Ian Dees ian.d...@gmail.com wrote: Perhaps you (or others) that spend the time to do the network sniffing could update the wiki API docs so that in the future these questions are answered without a trip to the mailing list? I already know how it works so there's

Re: [OSM-dev] Delete a node

2009-12-13 Thread Ian Dees
On Sun, Dec 13, 2009 at 2:06 PM, Ævar Arnfjörð Bjarmason ava...@gmail.comwrote: On Sun, Dec 13, 2009 at 19:38, Ian Dees ian.d...@gmail.com wrote: Perhaps you (or others) that spend the time to do the network sniffing could update the wiki API docs so that in the future these questions are

Re: [OSM-dev] Delete a node

2009-12-13 Thread jamesmikedup...@googlemail.com
It is not like people want to program an API most of the time. they want to use a simple lib that wraps that api. That is what we need, a libOSM that is up to date and usable in many languages. mike On Sun, Dec 13, 2009 at 9:14 PM, Ian Dees ian.d...@gmail.com wrote: On Sun, Dec 13, 2009 at 2:06

Re: [OSM-dev] Delete a node

2009-12-13 Thread Anthony
On Sun, Dec 13, 2009 at 3:14 PM, Ian Dees ian.d...@gmail.com wrote: Is there personal gain for you in spending time on an Open Street Map? :-) Of course there is. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev

Re: [OSM-dev] Delete a node

2009-12-13 Thread hy-soft
Shaun McDonald wrote: 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? No you really need the version and of course not the last changeset but the changeset that represents your current processing(s). It's

Re: [OSM-dev] Delete a node

2009-12-13 Thread Ævar Arnfjörð Bjarmason
On Sun, Dec 13, 2009 at 20:14, Ian Dees ian.d...@gmail.com wrote: On Sun, Dec 13, 2009 at 2:06 PM, Ævar Arnfjörð Bjarmason ava...@gmail.com wrote: On Sun, Dec 13, 2009 at 19:38, Ian Dees ian.d...@gmail.com wrote: Perhaps you (or others) that spend the time to do the network sniffing could