IFClite TypeScript API
    Preparing search index...

    Interface ClassifiedHazardRaster

    A north-up classified raster. Cell (col, row) covers [origin.x + col*cellSize, origin.x + (col+1)*cellSize) in x and (origin.y - (row+1)*cellSize, origin.y - row*cellSize] in y: origin is the top-left (north-west) corner.

    interface ClassifiedHazardRaster {
        cells: Uint8Array;
        cellSize: number;
        classes: readonly HazardClassDefinition[];
        counts: HazardCellCounts;
        covers: CoverageTest | "everywhere";
        crs: string;
        height: number;
        origin: MapPoint;
        provenance: HazardProvenance;
        width: number;
    }
    Index
    cells: Uint8Array

    Row-major from the north row. CELL_NO_RUNOFF, CELL_UNCLASSIFIED, or k (1-based) for classes[k - 1].

    cellSize: number
    classes: readonly HazardClassDefinition[]
    covers: CoverageTest | "everywhere"

    Where the map has data: a sample outside it (or too near its perimeter) reads outside-coverage, never "no runoff". Required, so a raster cannot reach the check without it: providers attach their perimeter test, and a raster known to lie wholly within the mapped area states 'everywhere'.

    crs: string
    height: number
    origin: MapPoint
    provenance: HazardProvenance
    width: number