Skip to main content
POST
The least-cost path between two points on a terrain raster: slope cost, grade cap, exclusions (N8, GP18)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
from
number[]
required

[x, y]

key
string
required

The terrain raster

spec
object
required

LcpSpec: neighbours, slope_cost, grade_cap, guard_crossings

to
number[]
required

[x, y]

base_key
string

A base cost raster on the same grid

exclusion_keys
string[]

Stored vector documents of polygons (at most 16)

Response

See the description

The response is of type object.