GDAL raster access and shapepath

Frank Warmerdam warmerdam at POBOX.COM
Thu May 18 15:04:11 EDT 2006


Eijnden, B. van den (Bart) wrote:
> Some more information on this issue.
> 
> If we use GDAL to access a TIFF file, SHAPEPATH is used.
> If we use GDAL to access an ECW file, SHAPEPATH is not used!
> 
> How is this possible?

Bart,

Is your ECW file larger than 2GB?

There is a problem in all released versions with fopen() failing on large
files, so the attempt to "try" shapepath seems to fail to MapServer even
though the actual ECW file would have opened ok.

There was a bug submitted on this, and a patch has been applied in CVS
(on the 4.8 branch as well) so the next releases on 4.8.x and 4.9+ should
be corrected.

This will also affect other GDAL supported formats where the actual file
is more than 2GB.   It only affects SHAPEPATH use though.  Direct access
always works ok.

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    | President OSGF, http://osgeo.org



More information about the mapserver-users mailing list