Overlaying geometries #50
Labels
No Label
backlog
bug
duplicate
enhancement
feature
help wanted
invalid
question
wontfix
bug
duplicate
enhancement
help wanted
in discussion
invalid
priority
1
priority
2
priority
3
priority
4
priority
5
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: IT-Naturschutz/konova#50
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Status quo
A user is not notified, that a geometry might intersect with other geometries from the system.
Feature
We need to add a warning on the detail view as well as on the overview view for entries where the stored geometry overlays (partially) another, already existing geometry.
Calculation
When an entry is being initially saved or edited and saved, the given geometry should be test-intersected with every other geometry on the database.
Visualization
If there is a conflict with another geometry, the user should see a warning on the top of the detail view, stating that the following objects geometry have already been found where this geometry has now been drawn: x1, x2, x3 and so on.
Storing
To keep track of these conflicts and avoid re-calculating everytime a detail view is opened, the conflict should be stored on the database using a proper model, such as
GeometryConflict
which holds the following attributes:conflicting_geometry
- the foreign key pointing on the new/edited geometryexisting_geometry
- the foreign key pointing on the geometry, which has already been there beforeEach time the
conflicting_geometry
orexisting_geometry
is being edited, the conflict will be re-evaluated. If the geometries still are in conflict, the entry will be kept. If the conflict seems to be resolved, the entry can be deleted.Merged in #52