Esri / Esri/geometry-api-java

Calculate 2d area of a polygon in wgs84

Offen
#302 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
710
Forks
269
Ø Merge
7 T. 23 Std.
Gemergte PRs (30 T.)
1

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.