https://issues.qgis.org/https://issues.qgis.org/favicon.ico2013-08-01T05:31:18ZQGIS Issue TrackingQGIS Application - Bug report #8395: split features is not working properlyhttps://issues.qgis.org/issues/8395?journal_id=437392013-08-01T05:31:18ZAlessandro Cialialessandro.ciali@gmail.com
<ul></ul><p>just to be more clear, I'm referring to the split feature tool in the advanced editing toolbar.<br />Making some other tests, I found that the tool works correcly if the user create at least 2 further vertex out of the feature(s)to be splitted before ending the splitting line.</p> QGIS Application - Bug report #8395: split features is not working properlyhttps://issues.qgis.org/issues/8395?journal_id=437742013-08-03T15:46:41ZNathan Woodrow
<ul></ul><p>Could you attach a sample set because I can't reproduce it with my data.</p> QGIS Application - Bug report #8395: split features is not working properlyhttps://issues.qgis.org/issues/8395?journal_id=438002013-08-05T08:02:03ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li><li><strong>Operating System</strong> deleted (<del><i>windows</i></del>)</li><li><strong>OS version</strong> deleted (<del><i>win7</i></del>)</li></ul><p>I can confirm the issue also on Linux.</p>
<p>If just a straight line (with just two nodes) is drawn then qgis returns</p>
<p>"An error occured during feature splitting"</p>
<p>If the cut line has 3 nodes (2 before crossing the feature, or 1 before and 1 inside) then the cut operation fails silently.</p>
<p>If the cut line has 3 or more nodes, at least 2 after crossing the feature, then it seems to work, but edits are:</p>
<ul>
<li>sometimes discarded when saving</li>
<li>sometimes are saved, but a previous saved cut disappear</li>
<li>sometimes after finishing a cut <del>before saving</del> a previous vanished cut shows again</li>
</ul>
<p>messy.</p> QGIS Application - Bug report #8395: split features is not working properlyhttps://issues.qgis.org/issues/8395?journal_id=438012013-08-05T08:02:15ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Open</i></li></ul> QGIS Application - Bug report #8395: split features is not working properlyhttps://issues.qgis.org/issues/8395?journal_id=438392013-08-06T23:03:49ZDenis Rouzauddenis.rouzaud@gmail.com
<ul></ul><p>This is due to the change of behavior of the right-click in digitization. Right-click doesn't add a new node.</p> QGIS Application - Bug report #8395: split features is not working properlyhttps://issues.qgis.org/issues/8395?journal_id=438412013-08-06T23:16:05ZDenis Rouzauddenis.rouzaud@gmail.com
<ul></ul><p>A solution to a disambiguation would be to have distinct color/width in the rubber band for already drawn line and the line to the mouse cursor (possible next point).<br />That would require to add a second rubber band...</p> QGIS Application - Bug report #8395: split features is not working properlyhttps://issues.qgis.org/issues/8395?journal_id=438422013-08-06T23:31:01ZNathan Woodrow
<ul></ul><p>I don't mind that solution if it's easy to do. Sounds like something that would be nice for the normal line tools too.</p> QGIS Application - Bug report #8395: split features is not working properlyhttps://issues.qgis.org/issues/8395?journal_id=438432013-08-06T23:44:26ZMatthias Kuhn
<ul></ul><p>Sounds good to me. Are you thinking about using two rubberbands with two distinct colors for that, one being always a temporary line with two nodes?<br />Another solution would be to add the possiblity to mark a point in the rubberband as "dangling/uncommitted" and change the rubberband paint method accordingly.</p> QGIS Application - Bug report #8395: split features is not working properlyhttps://issues.qgis.org/issues/8395?journal_id=438542013-08-07T14:14:39ZNathan Woodrow
<ul></ul><p>Denis are you planning on working on this?</p> QGIS Application - Bug report #8395: split features is not working properlyhttps://issues.qgis.org/issues/8395?journal_id=438592013-08-07T20:15:31ZDenis Rouzauddenis.rouzaud@gmail.com
<ul></ul><p>I would have some time to do this, but we would have to discuss it first.<br />I would prefer Matthias' solution with a single rubber band. Having the last segment as a dash line would probably be a good way to go, but right now rubber bands do not handle this. Or we could play with thickness only.<br />Ideas?<br />I'll have a look.</p> QGIS Application - Bug report #8395: split features is not working properlyhttps://issues.qgis.org/issues/8395?journal_id=439002013-08-08T03:41:11ZDenis Rouzauddenis.rouzaud@gmail.com
<ul></ul><p><a class="external" href="https://github.com/qgis/Quantum-GIS/pull/798">https://github.com/qgis/Quantum-GIS/pull/798</a></p> QGIS Application - Bug report #8395: split features is not working properlyhttps://issues.qgis.org/issues/8395?journal_id=439252013-08-08T14:33:27ZNathan Woodrow
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Fixed in changeset <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/d3142f6d88db49f46e2e3fd87dd3a583ed6776b3" title="Merge pull request #798 from 3nids/maptoolcapturerubber [fix #8395] Add a second rubber band in ...">d3142f6d88db49f46e2e3fd87dd3a583ed6776b3</a>.</p>