I am trying to download all roads for a specific area rel:2800276, including those exactly on the boundary of the area (e.g. way:171480859). However, the query seems slow if I add a few commands (Line 3-4) specifically ask for proximity to the boundary of area like this:
Should I use some other methods to include the roads exactly on the boundary? It looks like by default the area filter just report features with at least one point properly within the area. ** For simplicity, all ways with highway tag are assumed to be roads here. asked 07 Oct '22, 07:58 yikhim |
I hope I'm proved incorrect, but I don't think there's a simple way to perform this. To me the First, the reason your routine is slow is This routine: The first 'out' is, hopefully, all ways touching the relati9on. Second is all ways within the relation. Third is the relation itself.
General Point: you may want to check if the boundary does actually go down the centreline of the road. They rarely do. answered 07 Oct '22, 18:55 DaveF |