I'm trying to extract peaks that are within and up to say 100 kilometers away from country boundaries. The second part is however what I cannot get right.

How to query for nodes up to N kilometers away from an area in Overpass Turbo?


The following query asks for peaks up to 5 kms away from the Pilsen borders, and still within the Pilsen area.

.rel out geom;         // show boundary for illustration
.rel map_to_area;      // convert rel to area


Try it in overpass turbo! http://overpass-turbo.eu/s/zYR

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.