[Tilesathome] xapi problem?
Matthias Geiser
matthias.geiser at dodeka.ch
Fri Apr 4 08:16:36 BST 2008
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://www.informationfreeway.org/osmxapi/0.5'
osmxapi:uri='/api/0.5/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
More information about the Tilesathome
mailing list