#1980 closed defect (fixed)
gdaladdo doesn't understand deflate compressed tiff
Reported by: | maphew | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | normal | Keywords: | gtiff libtiff |
Cc: |
Description
Test case attached. Output on my machine as follows:
E:\bugs\gdaladdo-deflate-unkown> gdalinfo --version GDAL 1.5dev, FWTools 1.4.1, released 2007/10/19 E:\bugs\gdaladdo-deflate-unkown> gdal_Translate -outsize 1000 1000 v:YukonMosaic90mNoClouds.tif source-nocomp.tif Input file size is 10706, 13653 0...10...20...30...40...50...60...70...80...90...100 - done. E:\bugs\gdaladdo-deflate-unkown> gdal_translate -co compress=deflate source-nocomp.tif deflated.tif Input file size is 1000, 1000 0...10...20...30...40...50...60...70...80...90...100 - done. E:\bugs\gdaladdo-deflate-unkown> gdaladdo deflated.tif 2 4 8 16 0...10...20...30...40...50...60..ERROR 1: ZIPDecode:Decoding error at scanline 0d, incorrect header check ERROR 1: TIFFReadEncodedTile() failed. ERROR 1: ZIPDecode:Decoding error at scanline 0d, incorrect header check ERROR 1: TIFFReadEncodedTile() 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 .70...80.ERROR 1: ZIPDecode:ZLib error: (null) ERROR 1: TIFFReadEncodedTile() failed. ERROR 1: IReadBlock failed at X offset 0, Y offset 1 ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 1 ..90ERROR 1: ZIPDecode:ZLib error: (null) ERROR 1: TIFFReadEncodedTile() failed. ERROR 1: IReadBlock failed at X offset 3, Y offset 3 ERROR 1: GetBlockRef failed at X block offset 3, Y block offset 3 ...ERROR 1: ZIPDecode:ZLib error: (null) ERROR 1: TIFFReadEncodedTile() failed. ERROR 1: ZIPDecode:Decoding error at scanline 0d, unknown compression method ERROR 1: TIFFReadEncodedTile() failed. ERROR 1: ZIPDecode:Decoding error at scanline 128d, unknown compression method ERROR 1: TIFFReadEncodedTile() failed. ERROR 1: ZIPDecode:Decoding error at scanline 0d, unknown compression method ERROR 1: TIFFReadEncodedTile() failed. 100 - done.
Attachments (1)
Change History (8)
by , 16 years ago
Attachment: | gdaladdo-deflate-unkown.zip added |
---|
comment:1 by , 16 years ago
comment:2 by , 16 years ago
comment:3 by , 16 years ago
I can't find v1.4.3 but with 1.4.2 the test case is now error free. Thanks!
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 by , 16 years ago
Component: | default → GDAL_Raster |
---|---|
Keywords: | gtiff libtiff added |
I believe this is the same as #1758 which has now been fixed in trunk (using internal libtiff). Closing. Please reopen if the problem continues after the *next* FWTools release.
comment:7 by , 16 years ago
With "GDAL 1.5dev, FWTools 1.4.2, released 2007/11/05" I no longer get any of these errors. Thank you Frank!
Note:
See TracTickets
for help on using tickets.
This is a duplicate of #1758 (which is about LZW Tiff to be more precise)