geometry-api-java icon indicating copy to clipboard operation
geometry-api-java copied to clipboard

Calculate 2d area of a polygon in wgs84

Open khoiboo opened this issue 2 years ago • 1 comments

I have a polygon in wgs84. If I use the method polygon.calculateArea2D(), the result is in angular units (according to the documentation). Naturally I would like to have the results in square meters or similar.

It seems to me that the polygon has to be projected to webMercator spatial reference system. However, I cannot find such method in the Polygon's list of methods or the static methods of GeometryEngine.

khoiboo avatar Jun 16 '23 08:06 khoiboo

cross-reference #212

randallwhitman avatar Aug 21 '23 19:08 randallwhitman