[OSM-talk] OSMXAPI question: is it me, or...

Steven te Brinke s.tebrinke at student.utwente.nl
Wed Sep 10 16:03:41 BST 2008


It looks like it became broken a few days ago. Because last week I got 
the results I expected when querying for the rcn of the Netherlands, but 
this week I am missing quite some information. (I use nearly the same 
query as Lambertus.) So I think around the weekend something went wrong 
with a database update.
Thanks for looking at it.

Steven


80n schreef:
> Lambertus
> Yes, its likely to be a bug.  I'll take a look at it.
>
> 80n
>
> On Tue, Sep 9, 2008 at 10:12 PM, Lambertus <osm at na1400.info 
> <mailto:osm at na1400.info>> wrote:
>
>     Thanks for looking at it and you are right, only one predicate and one
>     bbox predicate is allowed, I missed that. Unfortunately when I request
>     again with only one predicate, the result is almost the same (data
>     from
>     far outside the bbox and missing ways and nodes without ways):
>
>     /api/0.5/relation[network=rcn][bbox=5.5,52.0,6.3,52.3]
>
>     Chris Hill wrote:
>     > Lambertus wrote:
>     >> Either I don't understand how querying OSMXAPI works or I stumbled
>     >> upon a bug. Perhaps someone can have a look at this:
>     >>
>     >>
>     /api/0.5/relation[route=bicycle][network=rcn][bbox=5.5,52.0,6.3,52.3]
>     >>
>     >>
>     > I don't think you can use multiple predicates.  The wiki says:
>     >
>     > A request can be suffixed with multiple predicates, each of which
>     > further constrains the results (currently limited to one tag
>     predicate
>     > and one bbox predicate)
>     >
>     >
>     > Cheers, Chris
>
>
>
>     _______________________________________________
>     talk mailing list
>     talk at openstreetmap.org <mailto:talk at openstreetmap.org>
>     http://lists.openstreetmap.org/listinfo/talk
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20080910/a4e50c3c/attachment.html>


More information about the talk mailing list