Skip to main content
POST
A cost surface ss.spatial.cost/1 from layers: rasterise, align, reclassify, weight, barriers (TP14)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
spec
object
required

CostSpec: id, name, grid, unit, base, layers [{id, source {kind: raster, key} | {kind: vector, key, rasterize}, role (cost | barrier), resample, reclass, weight, nodata}], min_cost

template_key
string

A stored raster whose grid is the surface's (leave spec.grid out)

Response

See the description

The response is of type object.