[gdal-dev] Fwd: Define compression with gdaladdo

Gil Peleg gilpeleg87 at gmail.com
Sun Dec 31 13:20:42 PST 2017


Hello,

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.

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.

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.

Is there any solution to this?

Thanks!!
Gil

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20171231/c1f37b41/attachment.html>


More information about the gdal-dev mailing list