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

Vincent Schut vincent at ecovla.nl
Thu Feb 17 11:06:46 EST 2005


And to add to my problem, packbits also throws an error, and involves 
glibc...:

gdalwarp -dstnodata 0 -rb -co "COMPRESS=PACKBITS" 
AST_09_003050620030251590000000.SWIR.vrt 
AST_09_003050620030251590000000.SWIR.warped.packbits.tif
Creating output file that is 2755P x 2441L.
:0...10...20...30...40...50...60...70...80...90...100 - done.
ERROR 1: 
AST_09_003050620030251590000000.SWIR.warped.packbits.tif:PackBitsDecode: Not 
enough data for scanline 1220
ERROR 1: TIFFReadEncodedStrip() failed.

ERROR 1: IReadBlock failed at X offset 0, Y offset 1220
ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 1220
*** glibc detected *** corrupted double-linked list: 0x0000002a98279a98 ***
Aborted

Vincent.

On Thursday 17 February 2005 17:00, Vincent Schut wrote:
> 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.
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at xserve.flids.com
> http://xserve.flids.com/mailman/listinfo/gdal-dev



More information about the Gdal-dev mailing list