Skip to main content
POST
A graph from a vector document's lines, crossings split and ends snapped; optionally a road graph for spatial.route (N7, GP17)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
key
string
required

The vector document of lines

spec
object
required

GraphSpec: snap_m, split_crossings, join_ends, profile_step_m, keep_properties

ground
boolean

The road graph's lengths on the ground

road_graph
boolean

Also store it as a road graph

terrain_key
string

A terrain raster for ground lengths

Response

See the description

The response is of type object.