Interface GridInput

Gridded data input. It is assumed data is the actual grid data of each point in the tile

interface GridInput {
    data: number[];
    extent: Extents;
    name: string;
    size: number;
}

Properties

Properties

data: number[]

The actual grid data assumed to be floating point (32-bit) precise. It is assumed to find data you can use: index = y * size + x

extent: Extents

The extent defines the 0->extent range to remap the data to

name: string

The name of the grid data

size: number

The size of the square tile. The length and width MUST be the same size