<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div>Hello,</div><div><br></div><div>I am trying to convert a tif file to GeoPackage and build it's levels with the output format of the entire geopackage being either PNG or JPEG.</div><div><br></div><div>Using gdal_translate I am able to translate the tif to GeoPackage, and adding the TILE_FORMAT -co  option sets the compression of the entire output to either PNG or JPEG as I requested, this works really well.</div><div><br></div><div>The problem starts when using gdaladdo to build the levels, the new levels are created with partial PNG and partial JPEG (I assume it has something to do with the borders), and I can't find the option to override it, I tried the COMPRESS_OVERVIEW parameter but it seems to be valid only in tif.</div><div><br></div><div>Is there any solution to this?</div><div><br></div><div>Thanks!!</div><span class="HOEnZb"><font color="#888888"><div>Gil</div></font></span></div></div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
        <tr>
        <td style="width:55px;padding-top:13px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link" target="_blank" style="color:#4453ea">www.avast.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>