Hi, I'm trying to get a list of roads within a community, but I get a timeout error when I try this. On very small queries it does work (e.g. highway=path). And on bbox too. Is this particular to querying within areas?
|
I can't offer an underlying explanation as to why, but the timeout is related to the area query returning multiple areas. A workaround is to request a specific area, like: Use pivot to inspect the results of an area query:
1
Increasing the allowed time usually works too (i.e. set timeout:250 instead of timeout:25)
(11 May '17, 11:53)
Hjart
1
Yes, a larger time-out did the trick in this case. But I somehow missed clicking the zoom to data, so I didn't see there were more Halle in the world. My first try to limit the results to Flemish communities did not seem to work though... ( area["name"="Vlaanderen"]["admin_level"="4"]; )->.b; ( area["name"="Halle"]admin_level=8; )->.a;
(11 May '17, 15:56)
joost schouppe
OK, found it: you need to first create areas, then require your results to be in both areas simultaniously: http://overpass-turbo.eu/s/oYf
(11 May '17, 18:16)
joost schouppe
I don't know the performance but worry about the It's a known issue that area limiters don't work on area queries.
(11 May '17, 18:33)
maxerickson
|