[Gdal-dev] srtm and gdaladdo question

Frank Warmerdam warmerdam at pobox.com
Fri Jun 16 22:31:33 EDT 2006


Tom / William,

I have just tried and reproduced this problem.  It looks quite serious
and a bit mysterious.  I'll try and look into it over the weekend,
but if one of you could file a bug on it that would be helpful.

Best regards,


William Kyngesburye wrote:
> I ran into the same problem a while back - what version of libtiff is 
> your gdal built with?  I found that when going from tiff 3.7.4 to 3.8.0 
> (still there at 3.8.2) I started getting these block errors at higher 
> overview levels.  This is with grey-scale images (like SRTM), with color 
> images I get bus errors.
> 
> I've been meaning to submit a bug report, but I don't know if it's 
> libtiff of GDAL (seems to be libtiff, from the thread trace), and I 
> never heard anything from my posts on this list.
> 
> 
> On Jun 12, 2006, at 10:21 AM, Kralidis,Tom [Burlington] wrote:
> 
>>
>> Hi,
>>
>> I am trying to generate a set of SRTM data via gdaltindex, for use with
>> MapServer, which has worked with no problems.
>>
>> The next challenge is ensure they are displayed efficiently in
>> MapServer, where I have taken the following steps:
>>
>> - run gdaltindex
>> - run gdaladdo on each image
>>
>> When I try to run gdaladdo, I encounter the following issues:
>>
>> Sample image:
>> ftp://ftp.glcf.umiacs.umd.edu/glcf/SRTM/Degree_Tiles/n045/SRTM_u01_n045w
>> 086/SRTM_u01_n045w086.tif.gz
>>
>> $ gdaladdo -r average SRTM_u01_n045w086.tif 2 4 8 16 32
>>
>> ...
>>
>> ERROR 1: IReadBlock failed at X offset 0, Y offset 11
>> ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 11
>> 91ERROR 1: SRTM_u01_n045w086.tif:DumpModeDecode: Not enough data for
>> scanline 0
>> ERROR 1: TIFFReadEncodedTile() failed.


-- 
---------------------------------------+--------------------------------------
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




More information about the Gdal-dev mailing list