Skip to main content
POST
The least-cost corridor between two points: both ends' accumulated costs summed under a threshold (TP14)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
cost_key
string
required

The cost raster

from
number[]
required

[x, y]

threshold
object
required

Threshold: {kind: slack, fraction} or {kind: cost, max}

to
number[]
required

[x, y]

exclusion_keys
string[]

Stored vector documents of polygons no route enters, in the cost raster's frame (at most 16)

spec
object

RouteSpec: neighbours, guard_crossings

Response

See the description

The response is of type object.