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

[closed] calculating area of user defined polygon

0

My objective is to make a tool to calculate the area of any user defined polygon on the map using a python code. One way I see to achieve this is:

  1. Open a map and select points on the map which will be the vertices of the polygon
  2. export the lat long of these vertices into a python code which will calculate the area of the polygon
  3. Integrate this python code into the map so that the area which is the output of the python code is displayed on the map?

Can this can be achieved using openstreetmap? How do I go about it?

asked 11 Oct '16, 09:45

Appu1234's gravatar image

Appu1234
11223
accept rate: 0%

closed 11 Oct '16, 11:01

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701

The question has been closed for the following reason “Question is off-topic or not relevant” by SimonPoole 11 Oct ‘16, 11:01


One Answer:

0

This question does not seem to be OSM related pls see http://gis.stackexchange.com/ for general GIS questions.

answered 11 Oct '16, 11:01

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

Source code available on GitHub .