[Gdal-dev] gdaladdo problems on an Mac OS X Panther

Gross, Dorit (SDRN) Dorit.Gross at fao.org
Wed Mar 15 04:14:20 EST 2006


Dear list,

I use gdaladdo to add overviews to a GeoTiff and receive following error
message:

/usr/local/gislibs/bin/gdaladdo -r average --config COMPRESS_OVERVIEW LZW
/Artemis/public/spot-veg/ndv/2006/dv06031_wrld.tif 2 4 8 16 32 64 128
0.Warning 1:
TIFFReadDirectory:/Artemis/public/spot-veg/ndv/2006/dv06031_wrld.tif: Wrong
"StripByteCounts" field, ignoring and calculating from imagelength Warning 1:
TIFFReadDirectory:/Artemis/public/spot-veg/ndv/2006/dv06031_wrld.tif: Wrong
"StripByteCounts" field, ignoring and calculating from imagelength
..10...20...30...40...50...60...70...80...90..Warning 1:
TIFFReadDirectory:/Artemis/public/spot-veg/ndv/2006/dv06031_wrld.tif: Wrong
"StripByteCounts" field, ignoring and calculating from imagelength Warning 1:
TIFFReadDirectory:/Artemis/public/spot-veg/ndv/2006/dv06031_wrld.tif: Wrong
"StripByteCounts" field, ignoring and calculating from imagelength ERROR 1:
/Artemis/public/spot-veg/ndv/2006/dv06031_wrld.tif:DumpModeDecode: Not enough
data for scanline 0 ERROR 1: TIFFReadEncodedTile() failed.

ERROR 1: IReadBlock failed at X offset 0, Y offset 4
ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 4 ERROR 1:
/Artemis/public/spot-veg/ndv/2006/dv06031_wrld.tif:DumpModeDecode: Not enough
data for scanline 0 ERROR 1: TIFFReadEncodedTile() failed.

...

Any ideas what could be the problem and how it could be solved?

We use the latest GIS Libs for Mac OS X Panther (2.2.1) including GDAL/OGR
v1.3.1 downloaded from Kyng Chaos.

Many thanks for your help,

Dorit



More information about the Gdal-dev mailing list