Simplify large geometries #337

Closed
opened 2023-05-19 09:25:29 +02:00 by mpeltriaux · 1 comment
Owner

Status quo

There is no check on amount of vertices of a geometry when SimpleGeomForm is being saved. There was an incident where a geometry has been uploaded, which held over 120,000 vertices, resulting in poor browser performance. Furthermore this amount of vertices is not needed. The current average on geometry vertices is ~75 (05/2023).

Enhancement

Add a vertices check on is_valid. If the geometry holds more than X vertices (e.g. 10,000) the geometry will be simplified automatically to hold less than 10,000 vertices. If this automatic procedure has been triggered, the user must receive an info message on the next redirect to the detail view, which states that the geometry contained too many vertices and had to be simplified due to performance reasons.

Further details need to be discusses with the MKUEM.

# Status quo There is no check on amount of vertices of a geometry when `SimpleGeomForm` is being saved. There was an incident where a geometry has been uploaded, which held over 120,000 vertices, resulting in poor browser performance. Furthermore this amount of vertices is not needed. The current average on geometry vertices is ~75 (05/2023). # Enhancement Add a vertices check on `is_valid`. If the geometry holds more than X vertices (e.g. 10,000) the geometry will be simplified automatically to hold less than 10,000 vertices. If this automatic procedure has been triggered, the user must receive an info message on the next redirect to the detail view, which states that the geometry contained too many vertices and had to be simplified due to performance reasons. Further details need to be discusses with the MKUEM.
mpeltriaux added the
enhancement
label 2023-05-19 09:25:29 +02:00
mpeltriaux self-assigned this 2023-05-19 09:25:29 +02:00
Author
Owner

Merged in #339

# Merged in #339
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: IT-Naturschutz/konova#337
No description provided.