Skip to main content

Type Alias: RasterArrayBase

RasterArrayBase = object

Defined in: array.ts:22

Common metadata shared by all raster layouts.

Properties

count

count: number

Defined in: array.ts:24

Number of bands (samples per pixel).


crs

crs: number | ProjJson

Defined in: array.ts:47

Coordinate reference system information.


height

height: number

Defined in: array.ts:27

Height in pixels.


mask

mask: Uint8Array | null

Defined in: array.ts:36

Optional validity mask. Length = height * width. Non-zero = valid pixel, 0 = nodata (transparent). null when no mask IFD is present.


nodata

nodata: number | null

Defined in: array.ts:50

Nodata value from GDAL_NODATA TIFF tag.


transform

transform: Affine

Defined in: array.ts:44

Affine geotransform [a, b, c, d, e, f] mapping pixel (col, row) to geographic (x, y): x = a * col + b * row + c y = d * col + e * row + f


width

width: number

Defined in: array.ts:30

Width in pixels.