ohmg-dev / OldInsuranceMaps

A public space for georeferencing historical fire insurance maps.
https://oldinsurancemaps.net
GNU General Public License v3.0
17 stars 2 forks source link

[Task] Add geometry validation to multimask trimming #159

Closed mradamcox closed 8 months ago

mradamcox commented 8 months ago

Describe the task During the multimask creation process, there is currently no checks for valid geometries, such as self-intersecting polygons. This is a problem because while a mask may work on the frontend, if it has geometry errors it will later cause a failure during the mosaic geotiff creation process.

Completion criteria No invalid geometries should be saved to the multimask. Some form of validation needs to run.

Ideally this would be handled with OpenLayers native capabilities, but if necessary some other geo library could be added to the stack (last resort).

mradamcox commented 8 months ago

Implemented within the post view handler.