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

Lambertus osm at na1400.info
Tue Sep 9 22:12:53 BST 2008


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






More information about the talk mailing list