[gdal-dev] Error (Not enough data for scanline) by using gdaladdo with geotiff

Frank Warmerdam warmerdam at pobox.com
Fri Jan 9 13:13:08 EST 2009


Gregor Fikoczek wrote:
> 
> Hi, 
> 
> i am using 'GDAL 1.6.0, released 2008/12/04' on (K)Ubuntu 'Linux 
> 2.6.22-16-generic i686 GNU/Linux'. By using gdaladdo with a geotiff i get the 
> following Result/Error:
> 
> gdaladdo -r nearest test.tif 2 4 8 16
> 
> Warning 1: TIFFReadDirectory:test.tif: Wrong "StripByteCounts" field, ignoring 
> and calculating from imagelength
> 0Warning 1: TIFFReadDirectory:test.tif: Wrong "StripByteCounts" field, 
> ignoring and calculating from imagelength
> ERROR 1: /home/fikoczek/projekte/bentheim/testbild/8015.9B.tif:DumpModeDecode: 
> Not enough data for scanline 0
> 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
> ...10...20...30...40...50...60...70...80...90...100 - done.
> Overview building failed.
> 
> 
> Anybody an idea ?????
> Something with the libtiff ???

Greg,

Generally this indicates use of an older libtiff.  If you want to avoid
this, I'd suggest configuring --with-libtiff=internal.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list