ReadonlybandsNumber of bands in the source LERC blob (v1 decodes only the first).
ReadonlydataSource data-type discriminant (0..5 integer, 6 float, 7 double); see LERC_DATA_TYPES.
ReadonlydepthValues per pixel per band (LERC depth/nDim); 1 for a scalar DEM.
ReadonlyheightRaster height, in pixels.
Optional ReadonlymaskPer-pixel validity mask, one byte per pixel (1 valid / 0 nodata), length
width * height and row-major like LercRaster.values. Absent when
every pixel is valid.
ReadonlyvaluesRow-major decoded values of the first band, length width * height. Integer,
float, and double source rasters are all normalized to Float32Array (the
natural target for elevation / coverage rendering).
ReadonlywidthRaster width, in pixels.
ReadonlyzMaximum decoded value across the raster, in the source raster's own units (see LercRaster.zMin).
ReadonlyzMinimum decoded value across the raster, in the source raster's own units
(e.g. metres for an elevation DEM). LERC is bounded-error, so every value in
LercRaster.values lies within [zMin, zMax].
A decoded LERC raster: the header metadata plus a row-major
Float32Arrayof the first band's values and an optional per-pixel validity mask. Returned by LercDecoder.decode.