XAPI is intended to provide capabilities that are not available with the
standard API.  It is not intended to duplicate the API capabilities.  So the
quick answer is use the API if you want to get a way by id.

The longer answer is that it could be implemented in XAPI fairly trivially,
and was probably an oversight rather than a deliberate omission.  If it had
been implemented then the correct way to query it would have been:

/api/0.6/w...@id=xxx]

80n

On Tue, Aug 25, 2009 at 5:47 AM, Gary68 <g...@gary68.de> wrote:

> hi,
>
> on API i can GET
>
> http://www.openstreetmap.org/api/0.6/way/Id
>
> using the same string on XAPI like
>
> http://osmxapi.hypercube.telascience.org/api/0.6/way/38427403
>
> results in "firefox can't find the file..."
>
> initially I typed
>
> http://www.informationfreeway.org/api/0.6/way/23328268 (other id, ok...)
> but i was redirected.
>
> trying ...way[id=xxx] or Id=xxx didn't help either.
>
> so, question: how do i get exactly one way by id from xapi? the wiki
> page doesn't help me...
>
> thanks
>
> gerhard
> gary68
>
>
>
> _______________________________________________
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>
_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

Reply via email to