[Shapelib] possible bug when reading the boundaries ?

Frank Warmerdam warmerdam at pobox.com
Thu May 20 00:58:35 EDT 2004


Stephane Routelous wrote:
> Hi Dave,
>  
> I checked the code that we hqave for reading and writting shapefiles, an 
> it seems that the guy who wrote it "forgot" to write the extent in the 
> shx file :-(

Stephane,

Ahh.   Another reason to try and use a standard component for implementing
file formats (especially when writing!).   If such files are common "in the
wild" I would be willing to apply a patch to shpopen.c that would use the
.shp if the .shx seems to be corrupt.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the Shapelib mailing list