<div dir="auto">Perfect Even!<div dir="auto"><br></div><div dir="auto">Thank you very much!</div><div dir="auto"><br></div><div dir="auto">Best regards,</div><div dir="auto">Pedro</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr">Na(o) ter, 30/10/2018, 17:33, Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Pedro,<br>
<br>
There is a corruption in the .shp file. The file size (given as a number of 2-<br>
byte words) at offset 24 to 27 is currently 268, which is plain wrong. The <br>
value should be 994732 / 2 = 497366 = 00 07 96 D6 in big endian order. Once <br>
patched, the shapefile can be read.<br>
<br>
That said, I've just modified the code to not be dependent on the correctness <br>
of that field.<br>
<br>
Even<br>
<br>
-- <br>
Spatialys - Geospatial professional services<br>
<a href="http://www.spatialys.com" rel="noreferrer noreferrer" target="_blank">http://www.spatialys.com</a><br>
</blockquote></div>