[gdal-dev] Re: TiffAppendToStrip errors with uncompressed output
Jukka Rahkonen
jukka.rahkonen at mmmtike.fi
Tue May 8 08:32:48 EDT 2012
Jukka Rahkonen <jukka.rahkonen <at> mmmtike.fi> writes:
>
> Hi,
>
> I have some LZW compressed paletted 8-bit tiff files which I look
through a .vrt
> file. I have been taking some timings with different gdal_translate
parameters
> but for some reason the most common command fails always for me. The
result is
>
> gdal_translate -of GTiff test.vrt uncompressed.tif
>
> Input file size is 96000, 48000
> 0...10...20...30ERROR 1: TIFFAppendToStrip:Write error at scanline 14650
> ERROR 1: TIFFAppendToStrip:Write error at scanline 14650
> ERROR 1: An error occured while writing a dirty block
> ERROR 1: TIFFAppendToStrip:Write error at scanline 14664
> ERROR 1: TIFFAppendToStrip:Write error at scanline 14664
I can repeat the error with another computer (Vista 32-bit). This time
the error occurs at scanline 44731 when progress bar had advanced to
value of 90.
Obviously there is a lack of some resource but I cannot imagine what it is and
how I could give more of it for gdal_translate. Both computers have 2 GB of
memory but resource manager does not show signs about running out of memory.
There is now a 460 MB zip file at
http://latuviitta.org/documents/TiffAppendToStrip_error.zip
It contains the source tiffs and .vrt file "UM52.vrt" and after unzipping it
should be ready for a test with
gdal_translate -of GTiff UM542.vrt output.tif
SRS is EPSG:3067 if it matters.
-Jukka Rahkonen-
More information about the gdal-dev
mailing list