[Gdal-dev] Tif file getting larger and larger

Fodder cryan at csse.com.au
Thu Aug 14 02:00:03 EDT 2008


Hi,

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.

I'm sure it's something simple I'm missing.

Cheers,



-- 
View this message in context: http://www.nabble.com/Tif-file-getting-larger-and-larger-tp18976082p18976082.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.



More information about the gdal-dev mailing list