#978 closed bug (fixed)
topological editing with snapping to segment yields 2 vertices instead of 1 adding vertex
Reported by: | msieczka | Owned by: | timlinux |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | |
Component: | Digitising | Version: | Trunk |
Keywords: | Cc: | lami@… | |
Must Fix for Release: | Yes | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
- Add a line or polygon Shapefile or PostGIS layer.
- In project properties enable topological editing, set snapping mode "to segment" or "to vertex and segment".
- Digitize a line or boundary.
- Add a vertex on it, move it - you see 2 vertices were added instead of 1. Topology broken.
SVN r8190.
Attachments (5)
Change History (16)
comment:1 by , 16 years ago
Cc: | added |
---|
comment:2 by , 16 years ago
comment:3 by , 16 years ago
Milestone: | Version 1.0 → Version 0.11.0 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:4 by , 16 years ago
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Cant replicate. I created a new line using the 'lines' layer in tests/testdata. Digitised a line across one of the roads with a vertex snapped to the road I was crossing. When I subsequently move the vertex, 4 red guides appear and both features are modified in shape as I drag the vertex around.
I'm marking this as 'works for me'. Please advise with more detail if there is something I'm missing and we can adjust the status of the ticket accordingly.
Regards
Tim
comment:5 by , 16 years ago
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
Tim
You need to set snapping different than 0 for the given layer to notice the bug.
The greater snapping threshold, the greater chance of reproducing the error - at 10 I have 100% "success" of adding 3 vertices instead of 1 in a line Shapefile layer.
Please please fix it before release.
comment:6 by , 16 years ago
Hi
Ah ok - I had tested at 1 and at 0.1 and it was working ok - will retest.
Regards
Tim
comment:7 by , 16 years ago
I still cant replicate this issue. Could you send me a small dataset to test with that will allow me to replicate?
If I cant replicate and resolve this tomorrow I am going to push this bug over to 1.0.0 milestone.
Regards
Tim
comment:8 by , 16 years ago
Tim,
I can still reproduce the bug in latest trunk r8750. Follow this please:
- Open the attached shapefile in QGIS.
- Project properties: check "Enable topological editing".
- Project properties > Snapping options: check the layer, Mode: "to vertex and segment", Tolerance: "10".
- Toggle editing.
- Add a vertex, move it - you'll see 3 vertices were added instead of 1. The attached screendumps show that it really happens.
comment:10 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
This should be fixed in r8753. Please test and reopen the bug if you still have the problem
Still valid as of r8352.