mrSid gdal problem

Frank Warmerdam fwarmerdam at GMAIL.COM
Thu May 5 16:11:43 EDT 2005


On 5/5/05, joerg p <superbla3000 at gmx.net> wrote:
> hello,
> 
> I compiled gdal with mrSid support. But now I got the following error:
> MrSIDRasterBand::IRasterIO(): Failed to load image. scene magni: Unable
> to access file. GDALRasterIO() failed: drawGDAL()
> 
> Where should I start to debug?

Joerg, 

This problem was recently identified by Steve Lime and I have fixed
it in the GDAL code base.  You could grab a recent nightly CVS
snapshot of GDAL and rebuild from that.  

Sorry for the bug ... I wrote the code in one place such that it assumed
there was no limit to the number of overviews available. 

I would add there is another bug also recently fixed in the MrSID code.
This bug cause the image to be read at full resolution if the requested
window size was larger than 2000000000 (2 gigapixels) due to an
unfortunate choice on my part to mulitple xsize * ysize as 32bit integers.

So those wanting to do heavy duty work with GDAL on MrSIDs are
encouraged to work with the latest code. 

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 mapserver-users mailing list