Opened 21 years ago

Last modified 21 years ago

#271 closed defect (duplicate)

gdaladdo does not work on compressed TIFFs

Reported by: keon@… Owned by: warmerdam
Priority: high Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

>> Dylan Keon wrote:
>> I'm trying gdaladdo for the first time on a large (statewide, 1.2GB) 
>> raster.  It was generated in ArcInfo and spit out as a compressed 
>> TIFF.  Based on the error messages, I'm guessing it should not have 
>> been compressed if I'm going to run it through gdaladdo.  Is that the 
>> case? I looked at the gdaladdo page in the MS Wiki and Google, etc., 
>> but didn't see anything about not using compressed TIFFs.
> 
> Frank Warmerdam wrote:
> This is essentially a bug in the GDAL TIFF driver.  Could you file a bug
> in the GDAL Bugzilla?  I am not sure when I will get to fixing this, so you
> might want to try the dataset uncompressed if possible.

# gdaladdo paint.tif 2 4 8 16
ERROR 1: paint.tif:Can't open a compressed TIFF file with compression for update.
0.ERROR 1: TIFFBuildOverviews:paint.tif: File not open for writing
ERROR 1: TIFFBuildOverviews:paint.tif: File not open for writing
ERROR 1: TIFFBuildOverviews:paint.tif: File not open for writing
ERROR 1: TIFFBuildOverviews:paint.tif: File not open for writing
..10...20...30...40...50...60...70...80...90...100 - done.

Change History (1)

comment:1 by keon@…, 21 years ago


*** This bug has been marked as a duplicate of 198 ***
Note: See TracTickets for help on using tickets.