Area calculation

Is there a function or plugin that calculates the area of a polygon or other closed surface drawn on a map?

Comments

  • No, there's no API function for that. You'd need to implement that yourself. That can get tricky because there's different types of polygons, and not all area methods work with all of them. I think the method I use in some other programs is to tessellate the polygon into triangles and then sum the area of those up. That will work for everything I believe.

Leave a Comment