Hey, is it possible to add a polygon (for example the shape of a city) in overpass turbo, so that the output only contains data from the city (inside of the polygon)? Can I drag and drop or open a shapefile in overpass turbo for that? Or is there a way to draw one? Thanks for your help! asked 07 Jun '22, 11:00 milo22948392 |
Edit: You can't import data into overpass & it doesn't really understand true polygons, just closed ways, but you can use existing OSM data. There's quite a few ways to achieve this depending on what data you have for the area to be searched:
These three lines are only to display the search area's boundary & can be removed if desired:
The boundary's ID:
The IDs for relations start at 3600000000 so by adding the id value to it allows
Note the different brackets used:
answered 07 Jun '22, 14:32 DaveF |