[OSM-talk] Overpass or XAPI API servers for 60,000 node queries?

Bryce Nesbitt bryce2 at obviously.com
Sun Oct 6 16:53:12 UTC 2013


I'm seeking some help in getting a 60,000 node overpass query to complete.

In the past I could generally get the query to complete by running it once,
cancelling it, then running it a second time (maybe the 2nd time more data
was cached).  Now I get either infinite timeout or a server rejection.

The query is:

<osm-script timeout="990" element-limit="1073741824">
<query type="node">
  <has-kv k="amenity" v="drinking_water"/>
</query>
<print/>
</osm-script>


In the past I ran this same query via XAPI on mapquest, but that server has
bit-rotted into uselessness.

Overpass servers I have tried include:
   api.openstreetmap.fr/api/interpreter
   api.openstreetmap.fr/oapi/interpreter
   overpass-api.de/api/interpreter
   overpass.osm.rambler.ru/cgi/interpreter
   overpass-turbo.eu/ (via web interface)

Using:

wget --tries=1 --timeout=0 --post-file=drinking_water_overpass.xml
example://overpass-api.de/api/interpreter -O output.osm

I'm referencing http://wiki.openstreetmap.org/wiki/Overpass_API for
instructions and
a public server list.

I'm willing to break the query into parts, or run the query at specific
times of day, but at the moment I'm lost in getting this working again.  Is
there any automated system for breaking the planet into smaller bounding
boxes?  Any other ways to cooperate with the servers for larger queries?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20131006/5c496896/attachment.html>


More information about the talk mailing list