<br><br>On Tuesday, May 24, 2011 7:38:25 AM UTC-5, Phil! Gold wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">* Robin Paulson <<a>robin....@gmail.com</a>> [2011-05-24 11:31 +1200]:<br>> this is my query:<br>> <a href="http://open.mapquestapi.com/xapi/api/0.6/relation%5Broute=bus%5D%5Bref=010%5D%5Bbbox=-174.327,-37.236,175.324,-36.519%5D" target="_blank">http://open.mapquestapi.com/<wbr>xapi/api/0.6/relation[route=<wbr>bus][ref=010][bbox=-174.327,-<wbr>37.236,175.324,-36.519]</a><p>Everything I've read about XAPI and JXAPI has said that only one predicate<br>is supported, aside from the bbox predicate.  It's possible that you're<br>getting all the bus routes within that bbox.</p></blockquote><div>JXAPI allows multiple predicates, but they are currently OR'd rather than AND'd like I meant them to be. The above query is akin to saying "give me all relations with route=bus OR ref=010 OR in bbox=...".</div><div><br></div><div>And yes, bbox'd relation queries aren't quite working. In this particular case I would suggest that you query for relation[ref=010] (since it is likely to return the fewest results) and use JOSM or similar to filter out what you're looking for.<br></div>