[QGIS-Developer] Geometry no showing on 3.4.1 on Windows 10, but working fine on linux or 2.18

Even Rouault even.rouault at spatialys.com
Thu Nov 22 04:06:28 PST 2018


On jeudi 22 novembre 2018 11:53:12 CET Alexandre Neto wrote:
> I can see now that GDAL version is different on each OS. Windows is using
> 2.3.2, while Linux is still at 2.2.3.
> 
> Trying to convert the file using the OGR/GDAL algorithm shows the folloing
> error:
> 
> ERROR 1: Error in fread() reading object of size 232 at offset 100 from
> .shp file

Looking at its
content, I see the file size indicated in the .shp header is not correct.

Has this shapefile been generated by an older GvSIG version ? It pretty
much looks like the issue reported in
https://lists.osgeo.org/pipermail/gdal-dev/2018-October/049218.html
I've fixed a few weeks ago per
https://github.com/OSGeo/gdal/commit/5ed09343b361b78ca5dc2fb55ec882be926e515e#diff-3bc1a345a345b6c9b580b2e412464641

This is queued for GDAL 2.3.3

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the QGIS-Developer mailing list