<html><head></head><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1482424724989_337220">Hi Marteen</div><div id="yui_3_16_0_ym19_1_1482424724989_336982"><br></div><div id="yui_3_16_0_ym19_1_1482424724989_336984" dir="ltr">There were discussions recently on this subject  but I cant find the thread. This was probably on the Overpass discussion group.<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1482424724989_339212"><br></div><div id="yui_3_16_0_ym19_1_1482424724989_336986" dir="ltr">As for the general Overpass API, It is now possible through JOSM to either use bbox or other outbounding methods to define the area to query. To implement this in JOSM, the syntax for bbox has been slightly modified with the [bbox:{{bbox}}] added to the header section of the query.</div><div id="yui_3_16_0_ym19_1_1482424724989_337087"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1482424724989_337089">Try building a query with a key value, for example : "building"="yes"<br></div><div id="yui_3_16_0_ym19_1_1482424724989_336967"><span id="yui_3_16_0_ym19_1_1482424724989_337238">When you click on Build a query, you wil see that the bbox definition looks like this.</span></div><div id="yui_3_16_0_ym19_1_1482424724989_336952"><div id="yui_3_16_0_ym19_1_1482424724989_337222"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1482424724989_337224">[out:xml][timeout:25][bbox:{{bbox}}];</div><div dir="ltr" id="yui_3_16_0_ym19_1_1482424724989_339442"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1482424724989_339622">If you still have timeout problem using the syntax above, it migth be related to the size of the area to query. Then, select a smaller bbox or increase the timeout value.<br id="yui_3_16_0_ym19_1_1482424724989_337178"></div></div><div class="signature" id="yui_3_16_0_ym19_1_1482424724989_336951"><span style="font-style:italic;color:rgb(0, 0, 191);font-weight:bold;" id="yui_3_16_0_ym19_1_1482424724989_336961"> <br><font id="yui_3_16_0_ym19_1_1482424724989_336960" face="garamond, new york, times, serif">Pierre </font><br></span></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1482424724989_336959"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1482424724989_336946" style="display: block;">  <div style="font-family: verdana, helvetica, sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1482424724989_336945"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, linéale; font-size: 16px;" id="yui_3_16_0_ym19_1_1482424724989_336944"> <div dir="ltr" id="yui_3_16_0_ym19_1_1482424724989_336949"> <font id="yui_3_16_0_ym19_1_1482424724989_336948" size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">De :</span></b> Maarten Deen <mdeen@xs4all.nl><br> <b><span style="font-weight: bold;">À :</span></b> talk@openstreetmap.org; josm@openstreetmap.org <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> lundi 26 décembre 2016 10h14<br> <b><span style="font-weight: bold;">Objet :</span></b> [OSM-talk] Overpass API from JOSM does not honor bounding box    anymore?<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1482424724989_336943"><br>I'm trying the overpass API from JOSM and keep getting timeouts. <br>According to the docs, the bounding box for the Overpass query would be <br>set automatically when selecting an area in the map in the download <br>screen, but I do not see that in the resulting query that gets logged.<br><br>Trying the example query from the wiki give me this error (afer a few <br>minutes):<br>2016-12-26 16:02:59.165 SEVERE: IO Exception - <html>Failed to upload <br>data to or download data <br>from<br>'<a href="https://overpass-api.de/api/interpreter?data=%28+node%5Bshop%5D%3B%0Away%5Bshop%5D%3B%3E%3B%0Arel%5Bshop%5D%3B%3E%3B%29%3B%0A%28._%3Brel%28bn%29%3B%29%3B%0A%28._%3Brel%28bw%29%3B%29%3B%0A%28._%3Brel%28br%29%3B%29%3B%0Aout+meta%3B%27" target="_blank">https://overpass-api.de/api/interpreter?data=%28+node%5Bshop%5D%3B%0Away%5Bshop%5D%3B%3E%3B%0Arel%5Bshop%5D%3B%3E%3B%29%3B%0A%28._%3Brel%28bn%29%3B%29%3B%0A%28._%3Brel%28bw%29%3B%29%3B%0A%28._%3Brel%28br%29%3B%29%3B%0Aout+meta%3B'</a><br>due <br>to a problem with transferring data.<br>Details (untranslated): Read <br>timed out</html><br><br>I do not see a bounding box in there.<br><br>If I download without a query there is a proper bbox in the API GET.<br><br>Is there something I should do to get the query to take the bbox?<br><br>Regards,<br>Maarten<br><br>_______________________________________________<br>talk mailing list<br><a ymailto="mailto:talk@openstreetmap.org" 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><br></div> </div> </div>  </div></div></body></html>