<p dir="ltr">Hi,</p>
<p dir="ltr">I have no inside knowledge of this as I am not an the development team but I remember a good post on the subject explaining that Qgis did repack the shp file when closing the file with deleted features.  Is this only done on a "save as"? </p>
<p dir="ltr">The problem may be cause by another GIS, like Manifold, as I remember that this problem could lead to a totally corrupt shape file like what we as seeing here.</p>
<p dir="ltr">Nicolas</p>
<div class="gmail_quote">On Jun 22, 2016 4:38 AM, "Alexandre Neto [via OSGeo.org]  " <<a href="/user/SendEmail.jtp?type=node&node=5272851&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:<br type='attribution'><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

        <p dir="ltr">Hello Spring,</p>
<p dir="ltr">This has to do with the way qgis (GDAL) handles the feature deletion. Instead of totally removing them (which takes longer) it mark them as deleted.</p>
<p dir="ltr">The (not very elegant) workaround here is to save the layer to a new shapefile using save as...</p>
<p dir="ltr">Hope it helps</p>
<br /><div class="elided-text"><div dir="ltr">A qua, 22/06/2016, 09:39, Springfield Harrison <<a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5272780&amp;i&#61;0">[hidden email]</a>> escreveu:<br /></div><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em">Hello All,<br />
<br />
        I have been opening QGIS shapefiles in Manifold GIS and noticed that<br />
they bear very little resemblance to the same file in QGIS, in some<br />
cases.  When I then saved that file in QGIS as a different file, and<br />
opened it in Manifold GIS, all the features were present and arranged<br />
as expected.<br />
<br />
        On another occasion, it looked like previously deleted polygons were<br />
visible when opened in Manifold GIS.<br />
<br />
        And, in another instance, when attempting in QGIS to create a<br />
polygon, that failed.  Instead, portions of old, deleted polygons<br />
were reactivated instead!  What is going on here?  This does not look<br />
like trustworthy behavior.<br />
<br />
        I tried using SpatiaLite files instead of shapefiles, but there edit<br />
and feature  creation failed outright.<br />
<br />
        I believe this has been dealt with earlier; could someone point me<br />
to the discussion?  I did a brief search but could not find the relevant posts.<br />
<br />
                Thanks very much, Cheers . . . . . . . . Spring Harrison<br />
<br />
<br />
<br />
_______________________________________________<br />
Qgis-user mailing list<br />
<a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5272780&amp;i&#61;1">[hidden email]</a><br />
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br />
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div><div dir="ltr">-- <br /></div><div><div dir="ltr"><div>Alexandre Neto</div><div>---------------------</div><div>@AlexNetoGeo</div><div><a href="http://sigsemgrilhetas.wordpress.com" target="_top" rel="nofollow" link="external">http://sigsemgrilhetas.wordpress.com</a></div><a href="http://gisunchained.wordpress.com" target="_top" rel="nofollow" link="external">http://gisunchained.wordpress.com</a><br /></div></div>
<br />_______________________________________________
<br />Qgis-user mailing list
<br /><a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5272780&amp;i&#61;2">[hidden email]</a>
<br />List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br />Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>

        
        
        
        <br />
        <br />
        <hr noshade="noshade" size="1" />
        <div style="color:#444;font:12px 'tahoma' , 'geneva' , 'helvetica' , 'arial' , sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1560.x6.nabble.com/Can-not-build-python3-qt5-devel-rpm-in-fedora-21-tp5272729p5272780.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/Can-not-build-python3-qt5-devel-rpm-in-fedora-21-tp5272729p5272780.html</a>
        </div>
        <div style="color:#666;font:11px 'tahoma' , 'geneva' , 'helvetica' , 'arial' , sans-serif;margin-top:0.4em;line-height:1.5em">
                To start a new topic under Quantum GIS - User, email ml-node+s1560n4125267h38@n6.nabble.com <br />
                To unsubscribe from Quantum GIS - User, <a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;unsubscribe_by_code&amp;node&#61;4125267&amp;code&#61;bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg&#61;&#61;">click here</a>.<br />
                <a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;macro_viewer&amp;id&#61;instant_html%21nabble%3Aemail.naml&amp;base&#61;nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs&#61;notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" style="font:9px serif">NAML</a>
        </div></blockquote></div>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Can-not-build-python3-qt5-devel-rpm-in-fedora-21-tp5272729p5272851.html">Re: QGIS Shapefile Structure (?)</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html">Quantum GIS - User mailing list archive</a> at Nabble.com.<br/>