goat icon indicating copy to clipboard operation
goat copied to clipboard

Calculate AOI area in sphere instead of WebMercator

Open majkshkurti opened this issue 3 years ago • 0 comments

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 avatar Aug 21 '22 22:08 majkshkurti