1 year ago

#335417

test-img

user1990244

How to detect if point is inside a natural area (or other type) polygon with overpass?

I am trying to figure out how to detect if latitude/longitude pair (-25.70078,-54.44522) is inside a natural area polygon.

Is there a better solution ?

So far I have something like this: https://overpass-turbo.eu/s/1h8D

This code gets me the nearest area but it also gets me the closest areas, which I don't want.

I need to know if the point is "in" (true) the specified area.

javascript

leaflet

openstreetmap

overpass-api

0 Answers

Your Answer

Accepted video resources