GDAL-RASTER-OVERVIEW-DELETE(1)

πŸ’– GDAL-RASTER-OVERVIEW-DELETE πŸ’–

okay bestie, welcome to GDAL-RASTER-OVERVIEW-DELETE(1), part of the GDAL manual family 🫢 this one is literally the "okay bye, overviews" button and it's giving very satisfying cleanup energy ✨

🌸 NAME 🌸

gdal-raster-overview-delete β€” delete overviews of a raster dataset

Added in version 3.11. πŸ‘‘


✨ SYNOPSIS ✨

Usage: gdal raster overview delete [OPTIONS] <INPUT>

Deleting overviews.

Positional arguments:
  -i, --dataset, --input <INPUT>     Dataset (to be updated in-place, unless --external) [required]

Common Options:
  -h, --help                         Display help message and exit
  --json-usage                       Display usage as JSON document and exit
  --config <KEY>=<VALUE>             Configuration option [may be repeated]
  -q, --quiet                        Quiet mode (no progress bar or warning message) [not available in pipelines]

Options:
  --external                         Delete external overviews

Advanced Options:
  --oo, --open-option <KEY>=<VALUE>  Open options [may be repeated]

like, look at that. clean. readable. main character CLI behaviour fr fr πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

gdal raster overview delete is the tool you call when you want to delete all existing overviews of a dataset. every single one. gone. no cap 😭✨

NOTE: for most file formats (including GeoTIFF or GeoPackage), the space previously occupied by the removed overviews may not be reclaimed. it might be needed for use gdal raster convert to create a new compact dataset. so like... the vibes are deleted but the bytes might still be squatting πŸ™ˆ

πŸ’… PROGRAM-SPECIFIC OPTIONS πŸ’…

  • --dataset <DATASET> β€” the dataset name, bestie πŸ’–. by default it gets updated in-place (unless you specify --external). this one is required, so no skipping it ✨
  • --external β€” removes external .ovr overviews. yep, the little sidecar files get evicted too πŸŽ€

🌈 STANDARD OPTIONS 🌈

  • --oo, --open-option <NAME>=<VALUE> β€” dataset open option, and it's format specific πŸ‘€ may be repeated, so go off, stack as many as you need 🫢

⭐ RETURN STATUS CODE ⭐

the program returns status code 0 in case of success, and non-zero in case of error. and important detail: non-blocking errors emitted as warnings are considered a successful execution, so don't panic if you see a lil warning bestie πŸ˜ŒπŸ’œ


πŸŽ€ EXAMPLES πŸŽ€

Example 1: Delete overviews of a GeoTIFF file. πŸ–ΌοΈ

gdal raster overview delete my.tif

one line. one command. overviews deleted. we love a low-effort high-impact moment πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

Even Rouault <even.rouault@spatialys.com> β€” icon, legend, the moment πŸ’–


1998-2026


and that's the whole page bestie!! πŸ¦‹ this was GDAL-RASTER-OVERVIEW-DELETE(1) from the GDAL manual, dated Aug 18, 2026 β€” go forth and delete those overviews, you absolute icon πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from