[gdal-dev] TILED=NO creates a tiled TIFF?

Maciej Sieczka tutey at o2.pl
Mon Jun 23 04:35:09 EDT 2008


Frank Warmerdam pisze:
> Maciej Sieczka wrote:

>> Thanks for the hint. Unfortunatelly gdal_translate segfaults then:
>>
>> Starting program: /usr/local/bin/gdal_translate -co "TILED=YES" -co
>> "BLOCKYSIZE=1" check.tif check3.tif

> It appears you switched back to TILED=YES from TILED=NO.

Sorry! It was late.

> A blockysize of
> 1 is not legal for tiled files.  I'm not sure why things crashed though.
> You might want to file a ticket on that aspect.

Will do.

> But try:
> 
> gdal_translate -co TILED=NO -co BLOCKYSIZE=1 check.tif check3.tif

Seems to work, but throws out an error:

$ gdal_translate -co "TILED=NO" -co "BLOCKYSIZE=1" check.tif check3.tif
Input file size is 4090, 2216
ERROR 1: TIFFReadDirectory:Cannot handle zero number of tiles
0...10...20...30...40...50...60...70...80...90...100 - done.

Is everything OK?

Maciek

-- 
Maciej Sieczka
www.sieczka.org


More information about the gdal-dev mailing list