[QGIS-Developer] Shapefile corruption issue affecting GDAL >= 2.1.3 and GDAL >= 2.2.0

Even Rouault even.rouault at spatialys.com
Thu Sep 7 04:54:50 PDT 2017


Hi,

I want to notify those using OGR to do edition of shapefiles (modifications of 
existing shape / SetFeature() + creation of new shape / CreateFeature()) that a 
bug was found in a particular scenario: if you edit the last shape of the file to be 
larger than its previous version (addition of a new vertex of a line/polygon), and 
then add a new shape (in the same editing session), the previously last shape will 
be corruped (the new last shape will start in the middle of it), and likely new 
added shapes in the same editing session will corrupt their previous shape.

See https://trac.osgeo.org/gdal/ticket/7031 for details and patch

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170907/2444fbd0/attachment.html>


More information about the QGIS-Developer mailing list