Interface CogDecodedMetadataExperimental

Metadata returned by an injected COG decoder before Honua validation.

interface CogDecodedMetadata {
    bands: readonly CogBand[];
    crs: CogDecodedCrs;
    footprint: CogFootprint;
    format: "unsupported" | "cog" | "geotiff";
    height: number;
    overviewDecimations?: readonly number[];
    resolution: CogResolution;
    width: number;
}

Properties

bands: readonly CogBand[]
footprint: CogFootprint
format: "unsupported" | "cog" | "geotiff"

geotiff and unsupported are explicit fail-closed outcomes.

height: number
overviewDecimations?: readonly number[]

Full-resolution is level zero; values must be positive and strictly increasing.

resolution: CogResolution
width: number