On 2 September 2010 15:36, bernhard zwischenbrugger <[email protected]>wrote:

>  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]<http://xapi.openstreetmap.org/api/0.6/way%5Bid=8136261%5D>
> and this.
> http://xapi.openstreetmap.org/api/0.6/way/8136261
>
> Both don't give a result.
>

Hello,

if you know the id, you can get the information directly on osm website
without xapi. Xapi is mostly use to search specific tags. When you have the
id, you can make use of the main api.
http://www.openstreetmap.org/api/0.6/way/8136261

You gave the example of a way. A node syntax would be
http://www.openstreetmap.org/api/0.6/node/x

Emilie Laffray
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to