[OSM-talk] XAPI URL for one way by ID?

Gary68 gary at gary68.de
Tue Aug 25 09:05:44 BST 2009


hi!

but XAPI is also intended to take load off the API, right? so it might
be a good idea to implement these simple query functions.

my 2cts

cheers 

gerhard
gary68


On Tue, 2009-08-25 at 07:31 +0100, 80n wrote:
> 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/way[@id=xxx]
> 
> 80n
> 
> On Tue, Aug 25, 2009 at 5:47 AM, Gary68 <gary at 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 at openstreetmap.org
>         http://lists.openstreetmap.org/listinfo/talk
> 





More information about the talk mailing list