[gdal-dev] Verbose mode in GDAL

Robert Coup robert.coup at koordinates.com
Wed Feb 17 07:52:09 PST 2016


Hi Jonathan,

You can try setting CPL_DEBUG=ON as a config option (see
https://trac.osgeo.org/gdal/wiki/ConfigOptions). Some specific
formats/drivers also have additional debug settings, but not GeoTIFF.

Rob :)

On 17 February 2016 at 13:51, Jonathan Moules <jonathan-lists at lightpear.com>
wrote:

> Hi List,
> I'm running the following four queries against the same data (a packbits
> compressed geotiff):
>
>     gdaladdo -r average --config COMPRESS_OVERVIEW JPEG --config
> PHOTOMETRIC_OVERVIEW YCBCR i1.tif 2 4 8 16
>
>     gdaladdo -r average --config PHOTOMETRIC_OVERVIEW YCBCR i2.tif 2 4 8 16
>
>     gdaladdo -r average i3.tif 2 4 8 16
>
>     gdaladdo -r average --config COMPRESS_OVERVIEW PACKBITS i4.tif 2 4 8 16
>
> All four outputs are binary identical and contain the requested internal
> overviews.
>
> I can think of several possible reasons for this outcome (different
> compression type seems most probable), but invisibly failing to action
> semantically valid flags isn't good for raising or debugging errors. Does
> GDAL have a "verbose" mode? I can't seem to find one.
>
> Cheers,
> Jonathan
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 

Chief Technical Officer Koordinates

+44 759 987 3480 <+44%20759%209873480> / koordinates.com / @koordinates
<https://twitter.com/koordinates>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160217/8c821294/attachment.html>


More information about the gdal-dev mailing list