LinuxCommandLibrary

gdaladdo

builds raster overview pyramids

TLDR

Build overviews

$ gdaladdo [image.tif]
copy
Build specific levels
$ gdaladdo [image.tif] [2] [4] [8] [16]
copy
Build using average resampling
$ gdaladdo -r average [image.tif]
copy
Build external overviews
$ gdaladdo -ro [image.tif]
copy
Build with compression
$ gdaladdo --config COMPRESS_OVERVIEW JPEG [image.tif]
copy

SYNOPSIS

gdaladdo [options] filename [levels...]

DESCRIPTION

gdaladdo builds or rebuilds overview images (also called pyramids) for raster datasets. Overviews are downsampled versions of the original image at multiple resolutions, enabling efficient display and processing at different zoom levels.
Without specified levels, the tool generates default pyramids. Custom levels define the subsampling factors (e.g., 2, 4, 8 means half, quarter, eighth resolution). Different resampling methods affect quality and performance: nearest is fastest, average produces smoother results, and cubic provides highest quality.
Overviews can be stored internally in the file or as separate .ovr sidecar files. Compression settings reduce overview file size. gdaladdo is essential for working with large imagery in GIS applications and web mapping services.

PARAMETERS

-r method

Resampling method (nearest, average, gauss, cubic).
-ro
Create external overview file.
--config key value
Set configuration option.
-b band
Build for specific band only.
-clean
Remove existing overviews.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community