On Wednesday, July 20, 2011 6:27:25 PM UTC-5, Roland Olbricht wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Overpass API has now a XAPI compability layer. It can answer the more common <br>XAPI queries, details are explained on the wiki:<br><a href="http://wiki.openstreetmap.org/wiki/Overpass_API#XAPI_Compability_Layer" target="_blank">http://wiki.openstreetmap.org/<wbr>wiki/Overpass_API#XAPI_<wbr>Compability_Layer</a><p>Example queries are<br><a href="http://www.overpass-api.de/api/xapi?map?bbox=7.1,51.2,7.2,51.3" target="_blank">http://www.overpass-api.de/<wbr>api/xapi?map?bbox=7.1,51.2,7.<wbr>2,51.3</a><br>or<br><a href="http://www.overpass-api.de/api/xapi?*[bbox=7.1,51.2,7.2,51.3][name=Weststra%C3%9Fe]" target="_blank">http://www.overpass-api.de/<wbr>api/xapi?*[bbox=7.1,51.2,7.2,<wbr>51.3][name=Weststraße]</a></p><p>Feel free to produce rather a lot of load. Although this is still a <br>development server, I need a realistic load test. The server should have a <br>primitive yet working protection against overload, so you cannot harm anybody.</p></blockquote><div>It looks like you're missing the "expand ways" step. For example, a query like this:</div><div><br></div><div>http://www.overpass-api.de/api/xapi?*[amenity=pub][bbox=-93.66943,44.65302,-92.65869,45.25942] <br></div><div><br></div><div>Only returns the ways or nodes tagged amenity=pub and inside that bounding box.</div><div><br></div><div>In order to use the OSM file it also needs to include the nodes referenced by the ways.</div><div><br></div><div>Perhaps it's not meant to do that (the XML root isn't <osm>) but it would be useful to have to make it closer to XAPI.</div>