This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Fences area in overpass turbo

0

Is it possible to query the total areas of enclosed fences (in square kilometers) in a view window or bounding box in overpass turbo ?

asked 12 May '18, 08:24

sang3's gravatar image

sang3
26557
accept rate: 0%


2 Answers:

0

You can calculate it by yourself if you get the polygons by api

https://www.mathopenref.com/coordpolygonarea.html

answered 13 May '18, 11:38

altopalo's gravatar image

altopalo
5381013
accept rate: 0%

0

I don't think there is an area function in Overpass-API. You could use JOSM to pull the data from Overpass-API and then use the measurement plugin. Not automatic of course.

answered 13 May '18, 12:38

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

Source code available on GitHub .