[OSM-dev] Xapi alternative

Mitja Kleider mitja at kleider.name
Sat Jan 29 17:29:41 GMT 2011


>> On Sat, 29 Jan 2011 10:46:12 +0100, Maarten Deen <mdeen at xs4all.nl>
>> wrote:
>>> Can you elaborate on how to do bbox queries with this?
>>
>> Like this:
>>
>> http://78.47.225.27/tag/amenity/bank/all/ids.json?bbox=9.7190434375091,51.496178170005,10.15849656249,51.565057661413
>>
>> Please note that the data on that server is only covering a small area.
> 
> Then I've found a small bug for you
[...]
> Apparently the parser can not cope with lat/lon figures without a decimal.

Thanks, this is now fixed on the demonstration server.


> Is there also a possibility to get output as an osm file?

OSM output is not yet implemented. You could add it by modifying [1]
from line 100 to 159.

[1]
http://gitorious.org/osm-poi-tools/server/blobs/master/list/views.py#line100



Mitja



More information about the dev mailing list