Esri / Esri/geometry-api-java

Calculate 2d area of a polygon in wgs84

Abierto
#302 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
710
Forks
269
Merge medio
7 d 23 h
PR fusionados (30 d)
1

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.