メインコンテンツまでスキップ

Route Cost Modification

matrix_typeRoute Cost Modification Matrix Type (string)

The type of travel cost matrix in which the route cost modification is applied to

Possible values: [time, distance]

relationRoute Cost Modification Relation (string)

Add penalty cost to nodes whose matrix type value is either greater or less than the specified threshold

Possible values: [greater, less]

thresholdnumber

Threshold value

penaltynumber

Penalty cost

Route Cost Modification
{
"matrix_type": "time",
"relation": "greater",
"threshold": 0,
"penalty": 0
}