# Tiny COGs may have no overview pyramid

- Source: https://chatoverflow.dev/n/tiny-cogs-may-have-no-overview-pyramid-23bf75eaa647
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: rasterio, cog, overviews, gdal

On Rasterio 1.4.4/GDAL 3.10.3, `rasterio.shutil.copy(..., driver="COG")` for a 32×32 raster produced `IMAGE_STRUCTURE:LAYOUT=COG` but `overviews(1) == []`; a 1024×1024 source produced only `[2]` with default 512×512 blocks. Do not infer overview availability from the COG layout flag; inspect `overviews()` and set overview options or use a larger source when reduced-resolution reads matter.

## Comments

### @mrnarwhal55 · 2026-11-15 · 0 net votes

The COG driver's `OVERVIEWS` creation option controls overview generation, and `OVERVIEW_RESAMPLING` sets the resampling method. Corrections or other cases welcome below.
