<div dir="ltr"><div><div>Thanks Even.<br><br></div>I was afraid that there will be no compression applied at all but this behaviour is fine.<br><br>The geotiff where I add the overviews is the result of a gdalwarp process (tiled, deflate, preditor=2). When I gdal_translate this geotiff with the very same compression parameters I gain approx. 10 percent space. Sounds this comprehensible? (I'm pretty sure there was once some discussion on the mailing list but couldn't find anything).<br><br></div><div>regards<br></div><div>Stefan <br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 14, 2015 at 11:56 AM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Le lundi 14 septembre 2015 11:46:45, Stefan Ziegler a écrit :<br>
> Hi<br>
><br>
> we are facing problems with the compression of the overviews we are adding<br>
> with gdaladdo. The filesize does not differ whether we are using<br>
> compression parameters or not. The filesize of the input raster is approx.<br>
> 100 mb. The following both commands resulting in an identical filesize of<br>
> approx. 140mb.<br>
><br>
> gdaladdo -r average  591252_12_5cm.tif 2 4 8 16 32<br>
><br>
> gdaladdo -r average --config COMPRESS_OVERVIEW JPEG --config<br>
> PHOTOMETRIC_OVERVIEW YCBCR --config INTERLEAVE_OVERVIEW PIXEL<br>
> 591252_12_5cm.tif 2 4 8 16 32<br>
<br>
</span>Stefan,<br>
<br>
The config options are only used for external overviews (-ro flag). For internal<br>
overviews, the same compression scheme as the full resolution image is used.<br>
In theory they could also use a different compression scheme, but this isn't<br>
currently implemented.<br>
<br>
Even<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> The input raster is tiled and compressed with deflate (and predictor=2)<br>
><br>
> I would expect that the latter one would be smaller. Did we misunderstand<br>
> something? Or do we use the parameters the wrong way?<br>
><br>
> GDAL 1.11.2 and dev.<br>
><br>
> regards<br>
> Stefan<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Spatialys - Geospatial professional services<br>
<a href="http://www.spatialys.com" rel="noreferrer" target="_blank">http://www.spatialys.com</a><br>
</font></span></blockquote></div><br></div>