OS Manuals

/usr/bin/gdaladdo

gdal-3.8 tools for Python 3.13

From gdal-3.8-tools-py3.13 3.8.5-r21 (enterprise-packages), captured 2026-11-08 by running gdaladdo --help (exit 0). permalink

Also provided by 4 other package versions
Usage: gdaladdo [--help] [--help-general]
                [-r {nearest|average|rms|gauss|cubic|cubicspline|lanczos|average_mp|average_magphase|mode}]
                [-ro] [-clean] [-q] [-oo <NAME>=<VALUE>]... [-minsize <val>]
                [--partial-refresh-from-source-timestamp]
                [--partial-refresh-from-projwin <ulx> <uly> <lrx> <lry>]
                [--partial-refresh-from-source-extent <filename1>[,<filenameN>]...]
                <filename> [<levels>]...

  -r : choice of resampling method (default: nearest)
  -ro : open the dataset in read-only mode, in order to generate
        external overview (for GeoTIFF datasets especially)
  -clean : remove all overviews
  -q : turn off progress display
  -b : band to create overview (if not set overviews will be created for all bands)
  filename: The file to build overviews for (or whose overviews must be removed).
  levels: A list of integral overview levels to build. Ignored with -clean option.

Useful configuration variables :
  --config USE_RRD YES : Use Erdas Imagine format (.aux) as overview format.
Below, only for external overviews in GeoTIFF format:
  --config COMPRESS_OVERVIEW {JPEG,LZW,PACKBITS,DEFLATE} : TIFF compression
  --config PHOTOMETRIC_OVERVIEW {RGB,YCBCR,...} : TIFF photometric interp.
  --config INTERLEAVE_OVERVIEW {PIXEL|BAND} : TIFF interleaving method
  --config BIGTIFF_OVERVIEW {IF_NEEDED|IF_SAFER|YES|NO} : is BigTIFF used

Examples:
 % gdaladdo -r average abc.tif
 % gdaladdo --config COMPRESS_OVERVIEW JPEG
            --config PHOTOMETRIC_OVERVIEW YCBCR
            --config INTERLEAVE_OVERVIEW PIXEL -ro abc.tif

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.