[Gdal-dev] Tif file getting larger and larger

Maciej Sieczka tutey at o2.pl
Thu Aug 14 07:52:04 EDT 2008


Fodder pisze:

> I have a program that is reading and writing to a GeoTif file using Open,
> RasterIO and Close calls and Float32 data types.
> 
> However, I find that the file just gets larger and larger whenever I write
> to the file even though I'm trying to overwrite the existing data. For
> example, if open a Tif file with a large range of values and then write the
> same value to every pixel and close the dataset, I don't see any reduction
> in file size as I would expect to result from the compression. I've noticed
> this with LZW and Packbits compression, tiled and striped.

Related?: http://trac.osgeo.org/gdal/ticket/1688 (some more info in a 
duplicate http://trac.osgeo.org/gdal/ticket/1689).

Maciek

-- 
Maciej Sieczka
www.sieczka.org


More information about the gdal-dev mailing list