Skip to content

autk-compute


autk-compute / GeojsonCompute

Class: GeojsonCompute

Defined in: geojson-compute.ts:5

Constructors

Constructor

new GeojsonCompute(): GeojsonCompute

Defined in: geojson-compute.ts:8

Returns

GeojsonCompute

Methods

computeFunctionIntoProperties()

computeFunctionIntoProperties(params): Promise<FeatureCollection<Geometry, GeoJsonProperties>>

Defined in: geojson-compute.ts:18

Executes a WGSL function on feature properties and adds the result to properties.compute[outputColumnName]

Parameters

params

ComputeFunctionIntoPropertiesParams

Parameters for the computation

Returns

Promise<FeatureCollection<Geometry, GeoJsonProperties>>

Promise<FeatureCollection> - New FeatureCollection with computed values

Released under the MIT License.