Esri / Esri/geometry-api-java

Calculate 2d area of a polygon in wgs84

Ouverte
#302 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
710
Forks
269
Merge moyen
7 j 23 h
PR mergées (30 j)
1

Description

I have a polygon in wgs84. If I use the method polygon.calculateArea2D(), the result is in angular units (according to the [documentation](https://esri.github.io/geometry-api-java/javadoc/com/esri/core/geometry/MultiPath.html#calculateArea2D--)). 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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.