<br><br><div class="gmail_quote">On 2 September 2010 15:36, bernhard zwischenbrugger <span dir="ltr"><<a href="mailto:bz@datenkueche.com">bz@datenkueche.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all<br>
<br>
Is there a way to get a node from xapi if I know the id?<br>
<br>
I tryed this:<br>
<a href="http://xapi.openstreetmap.org/api/0.6/way%5Bid=8136261%5D" target="_blank">http://xapi.openstreetmap.org/api/0.6/way[id=8136261]</a><br>
and this.<br>
<a href="http://xapi.openstreetmap.org/api/0.6/way/8136261" target="_blank">http://xapi.openstreetmap.org/api/0.6/way/8136261</a><br>
<br>
Both don't give a result.<br></blockquote></div><br>Hello,<br><br>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.<br>
<a href="http://www.openstreetmap.org/api/0.6/way/8136261">http://www.openstreetmap.org/api/0.6/way/8136261</a><br><br>You gave the example of a way. A node syntax would be <a href="http://www.openstreetmap.org/api/0.6/node/x">http://www.openstreetmap.org/api/0.6/node/x</a> <br>
<br>Emilie Laffray<br>