[gdal-dev] Error in fread() reading object from shp file
Pedro VenĂ¢ncio
pedrongvenancio at gmail.com
Tue Oct 30 14:24:06 PDT 2018
Perfect Even!
Thank you very much!
Best regards,
Pedro
Na(o) ter, 30/10/2018, 17:33, Even Rouault <even.rouault at spatialys.com>
escreveu:
> Pedro,
>
> There is a corruption in the .shp file. The file size (given as a number
> of 2-
> byte words) at offset 24 to 27 is currently 268, which is plain wrong. The
> value should be 994732 / 2 = 497366 = 00 07 96 D6 in big endian order.
> Once
> patched, the shapefile can be read.
>
> That said, I've just modified the code to not be dependent on the
> correctness
> of that field.
>
> Even
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20181030/da248140/attachment.html>
More information about the gdal-dev
mailing list