<div dir="ltr"><div><div><div><div><div>Don't worry about the size of the query box.<br></div>Focus instead on keeping the number of nodes and query time reasonable.<br><br></div>Overpass is perfectly happy doing continent or world-wide queries: and it's usually quite fast.<br></div>Note that the web client bogs down with more than a few hundred results, but<br></div>if you load straight into JOSM or a script, you can get many more.<br><br></div>Non-square bounding boxes seem to be slower than square ones.<br><div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 29, 2015 at 7:45 AM, James Conkling <span dir="ltr"><<a href="mailto:james.lane.conkling@gmail.com" target="_blank">james.lane.conkling@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yup, exactly, I was running many small queries in parallel.  Aggregating them into one query resolved it.  If the query bbox grows too big--right now looking at ~60% of the DRC, but will need to expand the query to run across all of the Congo Basin--then I'll divide into country-sized queries but be sure not to run them simultaneously.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 27, 2015 at 4:20 PM, Roland Olbricht <span dir="ltr"><<a href="mailto:roland.olbricht@gmx.de" target="_blank">roland.olbricht@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
Yeah, that all makes sense.  I had spent a lot of time trying to limit<br></span>
the area I was searching against, and the result was a /429 Too Many<br>
Requests/ error.<br>
</blockquote>
<br>
Thank you for the feedback.<br>
<br>
Just for clarification: You should get HTTP 429 only if you submit more than one request in parallel. This help other users to also get a chance that their queries are executed.<br>
<br>
If you get HTTP 429 in another case, please enforce that there is no runaway query by calling<br>
<a href="http://overpass-api.de/api/kill_my_queries" target="_blank">http://overpass-api.de/api/<u></u>kill_my_queries</a><br>
This kills another query from your IP adress if any is running.<br>
<br>
Best regards,<br>
<br>
Roland<br>
<br>
<br>
______________________________<u></u>_________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org" target="_blank">talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk" target="_blank">https://lists.openstreetmap.<u></u>org/listinfo/talk</a><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk" target="_blank">https://lists.openstreetmap.org/listinfo/talk</a><br>
<br></blockquote></div><br></div></div></div></div>