IFClite TypeScript API
    Preparing search index...

    Interface ElevationGrid

    A regular elevation grid. Values are sampled at grid NODES: x = origin.x + col * resolution, y = origin.y - row * resolution, row-major from north to south. Missing data is NaN, never a substitute.

    A node that sits exactly on a corner of the source raster's pixels (pixel centres lie half a pixel inside) is the bilinear mean of the four surrounding pixels at the source resolution, equally weighted; a node on a pixel centre reads that pixel. Spacing finer than the source is therefore interpolation, not new information.

    A box wholly outside the provider's coverage is not an error: the grid has the requested shape, every value is NaN, hasData is false and missingTiles lists what was absent. Check hasData before using it.

    interface ElevationGrid {
        attribution: Attribution[];
        crs: string;
        hasData: boolean;
        height: number;
        missingTiles: string[];
        noDataCount: number;
        origin: { x: number; y: number };
        resolution: number;
        sources: { acquired: string | null; gsd: number; id: string; url: string }[];
        values: Float32Array;
        verticalCrs: string;
        verticalReference: string;
        width: number;
    }

    Hierarchy (View Summary)

    Index
    attribution: Attribution[]
    crs: string
    hasData: boolean

    false when every value is NaN (noDataCount === width * height), e.g. a box outside coverage.

    height: number
    missingTiles: string[]

    Tiles the box needs that the provider does not have.

    noDataCount: number

    Number of NaN cells. Non-zero means part of the box has no data.

    origin: { x: number; y: number }
    resolution: number
    sources: { acquired: string | null; gsd: number; id: string; url: string }[]

    Source rasters used, for provenance. gsd is the real resolution of the raster level that was read, in metres: it can be coarser than resolution (a 4 m overview for a 10 m request) and is never finer than the product offers, so it states how much detail the values carry.

    values: Float32Array
    verticalCrs: string

    The CRS of the heights, e.g. EPSG:5728 (LN02).

    verticalReference: string

    Human-readable vertical reference, quoted from the product documentation.

    width: number