[gdal-dev] Re: gdalwarp -co COMPRESSION issues
Maciej Sieczka
tutey at o2.pl
Fri Mar 14 17:17:06 EDT 2008
Adam Nowacki pisze:
> Add -co "TILED=YES" to produce tiled tiff (and a lot smaller that way).
1. There are software that perform better with stripped TIFFs, eg.
ArcPad [1], QGIS (latest SVN trunk) too - the tiff at [2] if tiled with
gdal_translate takes about 10 (ten) times longer to render that it's
stripped version in QGIS.
2. There are software which don't support tiled TIFF at all. To stay on
the safe side I prefer to create stripped TIFFs in case I might be
sharing/selling them. I might be not the only one.
2. User will be surprised that gdalwarp -co "TILED=NO" -co
"COMPRESS=LZW" (or other compression alg.) creates tiffs bigger than
"COMPRESS=NONE".
3. Mind that gdal_translate -co "TILED=YES" still outperforms gdalwarp
-co "TILED=YES", any compression. With the sample [2] it creates a TIFF
over 8% smaller. Not *very* much, but with 13 such tiffs gdal_translate
gives you a room on your hard disk for another one, compared to gdalwarp.
[1]http://arcpadteam.blogspot.com/2006/08/raster-tips-1-choosing-raster-format.html
[2]http://www.biol.uni.wroc.pl/sieczka/udostepnione/M-33-21-A-b-4.tif
Maciek
More information about the gdal-dev
mailing list