[OSM-talk] Is Xapi working?
Roland Olbricht
roland.olbricht at gmx.de
Mon Jun 8 22:06:06 BST 2009
> This happened over the weekend too. The request this time was
>
> http://osmxapi.hypercube.telascience.org/api/0.6/node[amenity=studio]
You can try to use the "OSM Server Side Script" server. Just try on the
command line
wget -O studio.nosm --post-data="<query type=\"node\"><has-kv k=\"amenity\"
v=\"studio\"/></query><print mode=\"body\"/>"
http://78.46.81.38/api/interpreter
(all on a single line)
or run in you favourite browser
http://78.46.81.38/api/interpreter?data=%3Cquery%20type=%22node%22%3E%3Chas-kv%20k=%22amenity%22%20v=%22studio%22/%3E%3C/query%3E%3Cprint%20mode=%22body%22/%3E
(entire URL on a single line)
This returns a gzipped file with all results. The service is less up-to-date
(designed to be 4 to 6 hours behind) and does not contain edit metadata
(timestamp, uid of editor, version) but depending on your needs it still
might help.
Cheers,
Roland
More information about the talk
mailing list