[Gdal-dev] srtm and gdaladdo question
William Kyngesburye
woklist at kyngchaos.com
Mon Jun 12 12:39:57 EDT 2006
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.
>
> ERROR 1: IReadBlock failed at X offset 0, Y offset 12
> ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 12
> .ERROR 1: SRTM_u01_n045w086.tif:DumpModeDecode: Not enough data for
> scanline 0
> ERROR 1: TIFFReadEncodedTile() failed.
>
> ERROR 1: IReadBlock failed at X offset 0, Y offset 13
> ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 13
> ERROR 1: SRTM_u01_n045w086.tif:DumpModeDecode: Not enough data for
> scanline 0
> ERROR 1: TIFFReadEncodedTile() failed.
>
> ERROR 1: IReadBlock failed at X offset 0, Y offset 14
> ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 14
>
> ...
>
>
> Any idea what's going on?
>
> Thanks
>
> ..Tom
>
> _______________________________________________
> 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/
First Pogril: Why is life like sticking your head in a bucket filled
with hyena offal?
Second Pogril: I don't know. Why IS life like sticking your head in
a bucket filled with hyena offal?
First Pogril: I don't know either. Wretched, isn't it?
-HitchHiker's Guide to the Galaxy
More information about the Gdal-dev
mailing list