[gdal-dev] gdal create tif, errors with gdaladdo

Stephen Woodbridge woodbri at swoodbridge.com
Thu Mar 19 19:07:23 EDT 2009


Stephen Woodbridge wrote:
> Hi,
> 
> I just created a bunch of tif files from a mrsid file and when I use 
> gdaladdo file.tif 2 4 8 16 32 64 128 256
> 
> I get over a 1000 errors like:
> 
> ERROR 1: n-41-25_0-0.tif:DumpModeDecode: Not enough data for scanline 1536
> ERROR 1: TIFFReadEncodedTile() failed.
> ERROR 1: IReadBlock failed at X offset 12, Y offset 7
> ERROR 1: GetBlockRef failed at X block offset 12, Y block offset 7
> ERROR 1: n-41-25_0-0.tif:DumpModeDecode: Not enough data for scanline 1664
> ERROR 1: TIFFReadEncodedTile() failed.
> ERROR 1: IReadBlock failed at X offset 13, Y offset 7
> ERROR 1: GetBlockRef failed at X block offset 13, Y block offset 7
> 
> 
> 
> Is this because of the number of overviews I requested? ot something 
> else? Is it safe to ignore these?

These errors appear to be symptomatic of generating some nasty artifacts 
on the images at some zoom levels. So not safe to ignore. Any thoughts 
on what is causing these, and how to avoid them?

$ gdalinfo --version
GDAL 1.5.2, released 2008/05/29

Running on Debian Lenny

$ uname -a
Linux mappy 2.6.23-1-amd64 #1 SMP Fri Oct 12 23:45:48 UTC 2007 x86_64 
GNU/Linux


-Steve


More information about the gdal-dev mailing list