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

William Kyngesburye woklist at kyngchaos.com
Thu Mar 16 09:49:48 EST 2006


What about other TIFFs?

I'd like to get the image also so I can check my GIS Libs builds.   
I'll try some of my own TIFFs also.  There may a problem with my  
distribution.


On Mar 16, 2006, at 2:30 AM, Gross, Dorit (SDRN) wrote:

> Hi Frank,
>
> The original file is a SPOT VGT HDF that was converted into GeoTiff  
> using
> gdal_translate. The overviews are added just in the next step. The  
> script was
> running before the upgrade of GIS Libs. I tried the script for  
> different SPOT
> files after the upgrade but receive now the same error message for  
> all of
> them.
>
> I can provide you an image. Please let me know where it can be  
> uploaded to.
>
> Regards,
> Dorit
>
>
> -----Original Message-----
> From: Frank Warmerdam [mailto:fwarmerdam at gmail.com] On Behalf Of Frank
> Warmerdam
> Sent: 15 March 2006 17:32
> To: Gross, Dorit (SDRN)
> Cc: gdal-dev at lists.maptools.org
> Subject: Re: [Gdal-dev] gdaladdo problems on an Mac OS X Panther
>
>
> Gross, Dorit (SDRN) wrote:
>> 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.
>
> Dorit,
>
> It *sounds* like the input file may be corrupt in some sense.  Was it
> generated with libtiff?  Can you make the original file available  
> for me to
> look at?
>
> 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    | President OSGF, http:// 
> osgeo.org
>
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev

-----
William Kyngesburye <kyngchaos at kyngchaos.com>
http://www.kyngchaos.com/

"This is a question about the past, is it? ... How can I tell that  
the past isn't a fiction designed to account for the discrepancy  
between my immediate physical sensations and my state of mind?"

- The Ruler of the Universe




More information about the Gdal-dev mailing list