Skip to content

@urban-toolkit/autk-map


@urban-toolkit/autk-map / UpdateRasterParams

Interface: UpdateRasterParams ​

Defined in: autk-map/src/api.ts:130

Parameters for updating a raster layer's values.

Raster updates replace the value source for an existing raster layer. The property accessor is resolved from collection.features[0].properties and must point to a flat band array such as band_1.

Properties ​

collection ​

collection: FeatureCollection<Geometry | null>

Defined in: autk-map/src/api.ts:134

GeoTIFF-derived feature collection containing raster payload data.


property ​

property: string

Defined in: autk-map/src/api.ts:138

Dot-path accessor for the flat raster band array on feature properties.


transferFunction? ​

optional transferFunction?: TransferFunction

Defined in: autk-map/src/api.ts:142

Optional transfer function used to derive raster opacity from values.

Released under the MIT License.