[Gdal-dev] error when creating tiff with COMPRESS=DEFLATE

Vincent Schut vincent at ecovla.nl
Thu Feb 17 11:00:58 EST 2005


Hi all,

when I try to save a tiff file with deflate compressing, I get the following:

gdalwarp -dstnodata 0 -rb -co "COMPRESS=DEFLATE" 
AST_09_003050620030251590000000.VNIR.vrt 
AST_09_003050620030251590000000.VNIR.warped.deflate.tif
Creating output file that is 5511P x 4882L.
:0...10...20..ERROR 1: 
ZIPDecode:AST_09_003050620030251590000000.VNIR.warped.deflate.tif: Decoding 
error at scanline 0, incorrect header check
ERROR 1: TIFFReadEncodedStrip() failed.

ERROR 1: IReadBlock failed at X offset 0, Y offset 0
ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0

I tried this with all possible combinations of internal/external 
libtiff/libgeotiff (even compiled libgeotiff from cvs on my system to test 
that!) but nothing helps. The same warp using no compression works fine. Any 
clues?

Using gdal from cvs, libtiff 3.7.1 or gdal's, libgeotiff from cvs or gdal's, 
zlib 1.2.2, system is gentoo linux on amd64, diskspace is plenty.



More information about the Gdal-dev mailing list