I'm using Overpass QL to retrieve data for a bounding box (about 2 km square). I'd like to get:
Currently, my request looks like this:
This mostly works, but it doesn't give me nearby nodes on included ways, if the nodes are outside the box. So, for example, I can't draw the path the freeway takes heading out of the box. I'm afraid to use the >> operator, however, lest I get inundated by data (eg, every node on Interstate 10 :-). I could make my bounding box larger and clip the results, but that seems wasteful. Comments, clues, suggestions? -r asked 16 Dec '17, 00:55 Rich_Morin |
As a workaround, I'm currently using a pair of bounding boxes, as follows:
Making b2 20% wider and taller than b1 produces clean results, at the cost of downloading about 30% more data. Currently, my request looks something like this:
Still hoping for a cleaner solution... -r answered 16 Dec '17, 04:49 Rich_Morin |