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, warmer...@pobox.com
light and sound - activate the windows | http://home.gdal.org/warmerda
and watch the world go round - Rush | Geospatial Software Developer
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users