[OSM-talk] Overpass API from JOSM does not honor bounding box anymore?

Maarten Deen mdeen at xs4all.nl
Mon Dec 26 18:58:01 UTC 2016


Hi Pierre,

On 2016-12-26 17:36, Pierre Béland wrote:

> When you click on Build a query, you wil see that the bbox definition
> looks like this.
> 
> [out:xml][timeout:25][bbox:{{bbox}}];

That works better. When I put that in front of the query (I don't 
"build" the query, I have my own), then downloading works.

Regards,
Maarten

> 
> -------------------------
>  DE : Maarten Deen <mdeen at xs4all.nl>
> À : talk at openstreetmap.org; josm at openstreetmap.org
> ENVOYÉ LE : lundi 26 décembre 2016 10h14
> OBJET : [OSM-talk] Overpass API from JOSM does not honor bounding box
> anymore?
> 
> I'm trying the overpass API from JOSM and keep getting timeouts.
> According to the docs, the bounding box for the Overpass query would
> be
> set automatically when selecting an area in the map in the download
> screen, but I do not see that in the resulting query that gets logged.
> 
> Trying the example query from the wiki give me this error (afer a few
> minutes):
> 2016-12-26 16:02:59.165 SEVERE: IO Exception - <html>Failed to upload
> data to or download data
> from<br>'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'
> [1]<br>due
> to a problem with transferring data.<br>Details (untranslated): Read
> timed out</html>
> 
> I do not see a bounding box in there.
> 
> If I download without a query there is a proper bbox in the API GET.
> 
> Is there something I should do to get the query to take the bbox?
> 
> Regards,
> Maarten
> 
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
> 
> 
> 
> Links:
> ------
> [1]
> 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



More information about the talk mailing list