Hi,

Andrew McCarthy wrote:
> tilesGen.pl downloads the data in
> several sections, and it seems like the xapi server is returning empty
> results for some sections at random (the file contains only the xml
> header, the opening and (sometimes) the closing <osm> tag, and nothing
> else).
It is the first time that I use the osmxapi directely, so maybe I'm 
doing something wrong. But all I get is a header and an opening <osm> 
tag without any content.

I'm using the example from the wiki page:

wget 
'http://www.informationfreeway.org/api/0.5/node[amenity=hospital][bbox=-6,50,2,61]'
 
-O data.osm

cat data.osm
<?xml version='1.0' standalone='no'?>
<osm version='0.5' generator='osmxapi: OSM Extended API' 
xmlns:osmxapi='http:&#47;&#47;www.informationfreeway.org&#47;osmxapi&#47;0.5' 
osmxapi:uri='&#47;api&#47;0.5&#47;node%5bamenity=hospital%5d%5bbbox=-6,50,2,61%5d'
 
osmxapi:planetDate='200804020604' osmxapi:copyright='2008 OpenStreetMap 
contributors' osmxapi:instance='zappy2'>

That's all I get. I tried different bounding boxes and node tags but had 
no success so far.


Best regards, Matthias

_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome

Reply via email to