[OSM-dev] xapi - find node by id

Peter Körner osm-lists at mazdermind.de
Thu Sep 2 15:50:19 BST 2010


Am 02.09.2010 16:36, schrieb bernhard zwischenbrugger:
> Hi all
>
> Is there a way to get a node from xapi if I know the id?
>
> I tryed this:
> http://xapi.openstreetmap.org/api/0.6/way[id=8136261]
> and this.
> http://xapi.openstreetmap.org/api/0.6/way/8136261
You're requesting a way.

http://www.openstreetmap.org/api/0.6/node/8136261/1
will work as well as
http://www.openstreetmap.org/api/0.6/node/8136261/history

http://www.openstreetmap.org/api/0.6/node/8136261
won't because the node is deleted.

Peter



More information about the dev mailing list