[OSM-talk] Getting boundaries from XAPI

Roland Olbricht roland.olbricht at gmx.de
Fri Dec 11 18:52:33 GMT 2009


Hello,

you can try a HTTP POST request to OSM3S via
http://78.46.81.38/api/interpreter
with

<union>
  <id-query type="relation" ref="359761"/>
  <recurse type="relation-way"/>
  <recurse type="way-node"/>
</union>
<print mode="body"/>

E.g. paste the XML into a textfile "req.xml" and run
wget --post-file="req.xml" http://78.46.81.38/api/interpreter
The result is a gzipped XML file.

Or just open
http://78.46.81.38/
and paste the request into an arbitrary text field.

Cheers,

Roland





More information about the talk mailing list