[mapserver-users] gdaldatasetrasterIO() failed: ireadblock failed

Frank Warmerdam warmerdam at pobox.com
Wed Mar 21 01:21:19 EDT 2012


On 12-03-19 09:21 AM, Pedro Costa wrote:
> Hello list,
>
>
> My server can´t open a tif that i have in my mapfile.
> It gives this error:
>
> gdaldatasetrasterIO() failed: ireadblock failed
>
> Someone know what is this problem?

Pedro,

It means the GDAL raster library used by MapServer was unable to read a
chunk of the underlying file imagery.  It could potentially mean a corrupt
TIFF file.  You might want to try "gdal_translate your.tif new.tif" from
the commandline.  If the file is corrupt that is likely to fail and then
you could file a ticket referencing the file if you think it is valid.

BTW, it can be helpful to capture a more exact representation of the error
along with preceding information.  Usually IReadBlock failures are accompanied
by some additional error information that would have resulted in a better
answer here.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://home.gdal.org/warmerda
and watch the world go round - Rush    | Geospatial Software Developer



More information about the mapserver-users mailing list