https://issues.qgis.org/https://issues.qgis.org/favicon.ico2015-09-09T04:50:16ZQGIS Issue TrackingQGIS Application - Bug report #13297: Edited/Deleted features still in Shapefile https://issues.qgis.org/issues/13297?journal_id=635482015-09-09T04:50:16ZSaber Razmjooeisaber.razmjooei@lutraconsulting.co.uk
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Severe/Regression</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>Which version of QGIS? Could you provide an example file?</p> QGIS Application - Bug report #13297: Edited/Deleted features still in Shapefile https://issues.qgis.org/issues/13297?journal_id=635622015-09-09T15:02:25ZJamie Portmanjamie.portman@mpa.vic.gov.au
<ul><li><strong>File</strong> <a href="/attachments/download/9053/Objects_in_QGIS.JPG">Objects_in_QGIS.JPG</a> added</li><li><strong>File</strong> <a href="/attachments/download/9054/Objects_in_AGOL.JPG">Objects_in_AGOL.JPG</a> added</li><li><strong>File</strong> <a href="/attachments/download/9055/Precincts.zip">Precincts.zip</a> added</li></ul><p>It was v2.10.1</p>
<p>I didn't have the file anymore - cleaned them up after resolving the issue.<br />However, I have been able to replicate the problem with the same original data.</p> QGIS Application - Bug report #13297: Edited/Deleted features still in Shapefile https://issues.qgis.org/issues/13297?journal_id=635632015-09-09T15:04:34ZJamie Portmanjamie.portman@mpa.vic.gov.au
<ul></ul><p>It is by no means happening all the time.... just occasionally!<br />I am also having other issues where running an intersect process between to overlapping layers is dropping out some features on a random basis - and I can't seem to identify why - perhaps it is somehow all related??</p> QGIS Application - Bug report #13297: Edited/Deleted features still in Shapefile https://issues.qgis.org/issues/13297?journal_id=635672015-09-09T22:34:04ZSaber Razmjooeisaber.razmjooei@lutraconsulting.co.uk
<ul><li><strong>Operating System</strong> deleted (<del><i>Windows</i></del>)</li></ul><p>Does it happen with other layers or only this one?</p>
<p>In my experience, it usually happens to the layers with topological error. In your example, there are 2 overlapping features (id:4 and 11).</p>
<p>Try to test with a "clean" file and report back.</p> QGIS Application - Bug report #13297: Edited/Deleted features still in Shapefile https://issues.qgis.org/issues/13297?journal_id=635842015-09-10T17:37:08ZJamie Portmanjamie.portman@mpa.vic.gov.au
<ul></ul><p>This is the only one I have noticed it with.... but then I'm not uploading all my layers into another platform such as AGOL to view!<br />It looks fine in when viewed in QGIS - it is only when it is opened elsewhere that the anomaly presents.</p>
<p>I ran "check geometry validity" and there was 1 duplicate node in an unrelated polygon. I deleted it and re-uploaded and the 'old' feature shapes are still visible in AGOL, so it has not resolved the problem.</p>
<p>I would not consider overlapping features to necessarily be a topological error! They could be, depending on what they are representing, but there are many reasons by a shapefile (or any GIS layer) may have overlapping features or gaps.</p> QGIS Application - Bug report #13297: Edited/Deleted features still in Shapefile https://issues.qgis.org/issues/13297?journal_id=635852015-09-10T17:48:43ZJamie Portmanjamie.portman@mpa.vic.gov.au
<ul><li><strong>File</strong> <a href="/attachments/download/9057/Precincts_-_v282edit.zip">Precincts_-_v282edit.zip</a> added</li></ul><p>I just performed another test...</p>
<p>I made a copy of the troublesome Shapefile in file explorer (I did not do a save-as in QGIS as that seems to resolve the issue).<br />I then opened the shapefile in <strong>QGIS v2.8.2</strong>. I made some very small changes to the shape of ONE of the two polygons that had the issue, saved my edits, reloaded into AGOL and now it looks exactly as it should (and as it does when view in QGIS) for BOTH the polygons (one of which I made no changes to.)</p>
<p>I have uploaded the file edited in v2.8.</p> QGIS Application - Bug report #13297: Edited/Deleted features still in Shapefile https://issues.qgis.org/issues/13297?journal_id=635862015-09-10T18:52:46ZJamie Portmanjamie.portman@mpa.vic.gov.au
<ul><li><strong>File</strong> <a href="/attachments/download/9058/Precincts.zip">Precincts.zip</a> added</li></ul><p>I have made exactly the same changes in v2.10 to the original file as those I made in v2.8.2 to the copy.</p>
<p>In QGIS it only sees 1 object in QGIS, but when I upload to AGOL (or open in ArcGIS) there are two objects there (the original and the edited one) - FID37 and FID39.</p>
<p>The original edit was done by cutting the object out of the layer and then pasting it back in (to get it to respect the 'avoid intersection') rule.<br />It's like QGIS has flagged the old Feature (FID37) as deleted and now believes it is FID39.... but AGOL is seeing both.</p>
<p>I recall some other queries/bugs relating to the 'deleted' flag. <br />Whatever it is, v2.8.2 gets it right and v2.10 is having some issues!</p> QGIS Application - Bug report #13297: Edited/Deleted features still in Shapefile https://issues.qgis.org/issues/13297?journal_id=635872015-09-11T00:00:16ZSaber Razmjooeisaber.razmjooei@lutraconsulting.co.uk
<ul></ul><p>I say it is a regression. I will check with dev, 2.10 and 2.8.</p>
<p>Could you also check with QGIS processing toolbox. For example my original bug, if I remove a feature and buffer it using SAGA, it will create a buffer of the deleted feature.</p> QGIS Application - Bug report #13297: Edited/Deleted features still in Shapefile https://issues.qgis.org/issues/13297?journal_id=636102015-09-13T02:36:19ZSaber Razmjooeisaber.razmjooei@lutraconsulting.co.uk
<ul></ul><p>This affects the feature count. Deleted features still appear in feature count.</p> QGIS Application - Bug report #13297: Edited/Deleted features still in Shapefile https://issues.qgis.org/issues/13297?journal_id=637062015-09-16T20:34:50ZJamie Portmanjamie.portman@mpa.vic.gov.au
<ul></ul><p>There are definitely two 'phantom' objects that remain in the table unless a save-as is done.<br />Simply by populating a column with $id, I can see that the count gets out of sync at the last two features.</p>
<p>I tried the SAGA Buffer in Processing Toolbox, however this actually results in only the first 13 features being buffered. I also tried a "Convert polygon/line vertices to points" and only the first 13 records have vertices created. I believe it may be stumbling across an issue with the 14th object and it simply stopping going any further, as I created a new feature in QGIS (a simple polygon with 4 vertices) and re-ran the buffer and vertices>points process and both results still stopped at the 13 feature...</p>
<p>However, even after deleting the 14th and all subsequent objects except the last one just added as a test object, it still fails to buffer the new test object.<br />But if I save-as the shapefile and buffer it, it works perfectly and buffers all features.</p>
<p>(All this testing has been done on the same shapefile uploaded in my previous update.)</p>
<p>If is provides any additional context information, many of the objects in our GIS layers are being extracted from DXF CAD files - thye appear to import through into the GIS format and copy/paste perfectly fine, but perhaps there is some underlying object issue that is somehow causing issues? We have recently had other objects that 'dissapear' when an intersect process is done - however all objects pass all the geometry validity checks...</p> QGIS Application - Bug report #13297: Edited/Deleted features still in Shapefile https://issues.qgis.org/issues/13297?journal_id=638222015-09-25T05:16:01ZSaber Razmjooeisaber.razmjooei@lutraconsulting.co.uk
<ul><li><strong>Resolution</strong> set to <i>duplicate</i></li><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul><p>Please see the original ticket.</p>