https://issues.qgis.org/https://issues.qgis.org/favicon.ico2015-01-16T22:22:36ZQGIS Issue TrackingQGIS Application - Bug report #11989: Unexpected behaviour in QGIS Node Tool when adding vertexhttps://issues.qgis.org/issues/11989?journal_id=586742015-01-16T22:22:36ZJuraj Komačkakomackaj@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/download/8302/test_11989.zip">test_11989.zip</a> added</li></ul><p>Hi,</p>
<p>I have just followed your instructions with 2.6.1 (although edit mode described in step 3 must be activated before drawing polygon in step 2) and ended with attached shapefile.<br /><pre> ogrinfo test_11989.shp test_11989 </pre> reports Feature Count: 1.</p>
<p>Could you, please, verify in Openjump? If only one feature will be reported, could you try upgrading from 2.6.0 to 2.6.1?</p> QGIS Application - Bug report #11989: Unexpected behaviour in QGIS Node Tool when adding vertexhttps://issues.qgis.org/issues/11989?journal_id=586832015-01-18T02:36:40ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Category</strong> set to <i>Vectors</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Severe/Regression</i></li><li><strong>Affected QGIS version</strong> changed from <i>2.6.0</i> to <i>master</i></li><li><strong>Crashes QGIS or corrupts data</strong> changed from <i>No</i> to <i>Yes</i></li></ul><p>likely related to <a class="issue tracker-1 status-5 priority-10 priority- closed" href="https://issues.qgis.org/issues/10560" title="Wrong feature count after edit (Closed)">#10560</a></p>
<p>still true and the latest master and still a huge issue as it also affects Arc*, see for example this report</p>
<p><a class="external" href="https://twitter.com/RyanMHorne/status/556472289915850753">https://twitter.com/RyanMHorne/status/556472289915850753</a></p>
<p><img src="https://dl.dropboxusercontent.com/s/285sbuuc6qgyzm6/comp4.png" alt="" /></p> QGIS Application - Bug report #11989: Unexpected behaviour in QGIS Node Tool when adding vertexhttps://issues.qgis.org/issues/11989?journal_id=586982015-01-18T22:54:31ZFrancisco Javier Garciafjgarciav@yahoo.com
<ul></ul><p>Hi</p>
<p>The shapefile attached opened in my openjump only reports one feature, it seems correct, but the openjump "look" of giovanni if the same that my openjump reports with other test I've made. It seems that qgis duplicate the feature in some way when you move vertex.</p>
<p>In my tests If I save the opened shapefile in qgis in another file (export) it seems that the shapefile is "reindex" and you can open in another programs without any problems, but I think this is not the correct way of working.</p>
<p>ArcGIS have an external application to check if a shapefile is ok (shapechk.exe) (<a class="external" href="http://arcscripts.esri.com/details.asp?dbid=10806">http://arcscripts.esri.com/details.asp?dbid=10806</a>) and it reports that the shapefile saved in qgis have a problem in the index.</p>
<p>I don't know if I can provide more information about the problem.</p> QGIS Application - Bug report #11989: Unexpected behaviour in QGIS Node Tool when adding vertexhttps://issues.qgis.org/issues/11989?journal_id=587072015-01-19T00:26:16ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Francisco Javier Garcia wrote:</p>
<blockquote>
<p>Hi</p>
<p>The shapefile attached opened in my openjump only reports one feature, it seems correct, but the openjump "look" of giovanni if the same that my openjump reports with other test I've made.</p>
</blockquote>
<p>if the steps you described are not repeated exactly (add a vertex, move it) then the issue may not surface. Anyway is easy to replicate this issue with edited features, and overall is a pretty bad issue.</p> QGIS Application - Bug report #11989: Unexpected behaviour in QGIS Node Tool when adding vertexhttps://issues.qgis.org/issues/11989?journal_id=591912015-02-09T12:15:02ZJürgen Fischerjef@norbit.de
<ul><li><strong>Category</strong> changed from <i>Vectors</i> to <i>Digitising</i></li></ul> QGIS Application - Bug report #11989: Unexpected behaviour in QGIS Node Tool when adding vertexhttps://issues.qgis.org/issues/11989?journal_id=592362015-02-10T00:40:05ZMartin Dobiaswonder.sk@gmail.com
<ul></ul><p>This must be the same problem with not doing REPACK after editing (<a class="issue tracker-1 status-5 priority-10 priority- closed" href="https://issues.qgis.org/issues/11007" title="Deleted/edited features within SHAPEFILE are still recognized in other software packages (Closed)">#11007</a> and <a class="issue tracker-1 status-5 priority-10 priority- closed" href="https://issues.qgis.org/issues/10560" title="Wrong feature count after edit (Closed)">#10560</a>), resulting in a shapfile in semi-corrupt state - only when the layer is unloaded from QGIS or QGIS is closed, the REPACK happens.</p> QGIS Application - Bug report #11989: Unexpected behaviour in QGIS Node Tool when adding vertexhttps://issues.qgis.org/issues/11989?journal_id=593482015-02-12T07:09:30ZJürgen Fischerjef@norbit.de
<ul></ul><p>Martin Dobias wrote:</p>
<blockquote>
<p>This must be the same problem with not doing REPACK after editing (<a class="issue tracker-1 status-5 priority-10 priority- closed" href="https://issues.qgis.org/issues/11007" title="Deleted/edited features within SHAPEFILE are still recognized in other software packages (Closed)">#11007</a> and <a class="issue tracker-1 status-5 priority-10 priority- closed" href="https://issues.qgis.org/issues/10560" title="Wrong feature count after edit (Closed)">#10560</a>), resulting in a shapfile in semi-corrupt state - only when the layer is unloaded from QGIS or QGIS is closed, the REPACK happens.</p>
</blockquote>
<p>hm, do we value the attribute editing and selection in shape layers more than their integrity? REPACK used to be run after every commit, fixing this and other things. But it changes the feature ids and therefore corrupts the current feature selection and interferes with open attribute tables.</p> QGIS Application - Bug report #11989: Unexpected behaviour in QGIS Node Tool when adding vertexhttps://issues.qgis.org/issues/11989?journal_id=593492015-02-12T07:21:57ZMartin Dobiaswonder.sk@gmail.com
<ul></ul><p>I was thinking along the same lines - to me preserving data integrity seems more important than having possibly temporary issues with selection and attribute table... (in theory we could try to keep a backup before repack, compare it after repack and issue a warning if an unwanted shift in IDs is detected).</p> QGIS Application - Bug report #11989: Unexpected behaviour in QGIS Node Tool when adding vertexhttps://issues.qgis.org/issues/11989?journal_id=593872015-02-13T10:40:25ZJürgen Fischerjef@norbit.de
<ul><li><strong>Category</strong> changed from <i>Digitising</i> to <i>Data Provider/OGR</i></li></ul> QGIS Application - Bug report #11989: Unexpected behaviour in QGIS Node Tool when adding vertexhttps://issues.qgis.org/issues/11989?journal_id=615562015-05-28T01:35:15ZMatthias Kuhn
<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/7d7cdcd376c0d3fa60af1403a91e1e611b210174" title="Repack shapefiles when saving after deleting features * QgsVectorDataProvider::dataChanged() wi...">7d7cdcd376c0d3fa60af1403a91e1e611b210174</a>.</p>