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 AOI area in sphere instead of WebMercator #1463

Closed
majkshkurti opened this issue Aug 21, 2022 · 0 comments
Closed

Calculate AOI area in sphere instead of WebMercator #1463

majkshkurti opened this issue Aug 21, 2022 · 0 comments
Assignees

Comments

@majkshkurti
Copy link
Member

majkshkurti commented Aug 21, 2022

Expected Behavior

There is a significant difference between the cartesian area calculated from the backend and the area of the measure tool in the client. The client uses Ol/Sphere.js method from OpenLayers, which is more accurate than Shapely.

Possible Solution

Shapely doesn't support CRS so a workaround can be doing the intersection in PostGIS or having a custom python method.

@majkshkurti majkshkurti added this to the v1.2 milestone Aug 21, 2022
@majkshkurti majkshkurti self-assigned this Aug 21, 2022
majkshkurti added a commit that referenced this issue Aug 24, 2022
@majkshkurti majkshkurti modified the milestones: v1.2, v1.3 Sep 21, 2022
@EPajares EPajares modified the milestones: v1.3, v1.4 Nov 2, 2022
@EPajares EPajares modified the milestones: v1.4, v1.5 Dec 1, 2022
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