Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate 2d area of a polygon in wgs84 #302

Open
khoiboo opened this issue Jun 16, 2023 · 1 comment
Open

Calculate 2d area of a polygon in wgs84 #302

khoiboo opened this issue Jun 16, 2023 · 1 comment

Comments

@khoiboo
Copy link

khoiboo commented Jun 16, 2023

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.

@randallwhitman
Copy link
Contributor

cross-reference #212

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants