Expand description
Pyramid (overview) generation.
Takes a full-resolution RasterTile and produces a chain of
half-resolution tiles — one per pyramid level — using a resampling
kernel.
§Convention
- Level 0 is the input (full resolution).
- Level N has dimensions
width >> N×height >> N(rounded down, minimum 1). - We stop at the level where both dimensions are ≤
min_dimension(default 256) — no point in serving a 64×64 thumbnail at zoom 0 of a global mosaic.
Structs§
Functions§
- build_
overviews - Produce a chain of overview tiles from
base(treated as level 0). The returnedVecdoes NOT include the base — index 0 of the result is the level-1 overview (half resolution).