Possible to create an invalid graph if route-segment are created inside of the defined tolerance.
runeanielsen opened this issue · comments
Possible to create an invalid graph if drawing inside of the defined tolerance.
The error can be reproduced if you're zoomed to far into QGIS and you draw 'Nodes' or 'Segments'. The GDB-Integrator will think that it is connected to a node and therefore let the event go thought. The event will be correct in Kafka, but the visual representation in QGIS will be wrong.
- Delete the action in case of newly digitized route-segment intersects with multiple two or more route node.
- Revert the action in case of a an updated route-segment intersects with multiple two or more route node.
- If a new digitized route-segment new route-nodes intersects with any other route-node delete the route-segment.
- If a new digitized route-segment new route-nodes intersects with any other route-node delete the route-segment.
- If a new digitized route-segment start-point and end-point intersects with the same route-node then delete newly created route-segment.
- If an updated route-segment only intersect with a single node, then snap the segment to the node.
- If an updated route-segment start-point and end-point intersects with the same route-node then revert the newly updated route-segment back to its old state.
- Delete node if it is not intersecting with a point on updated route-segment