Esri / Esri/geometry-api-java

Calculate 2d area of a polygon in wgs84

未关闭
#302 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
710
派生
269
平均合并
7 天 23 小时
30 天内合并 PR
1

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。