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
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to