A model which influences the routing based on the type of travel. The costing model affects parameters ranging from which roads are legally accessible to preferences based on comfort or speed. See https://valhalla.github.io/valhalla/api/turn-by-turn/api-reference/#costing-models for in-depth descriptions of each costing model.
-
AUTO
(value:'auto'
) -
BUS
(value:'bus'
) -
TAXI
(value:'taxi'
) -
TRUCK
(value:'truck'
) -
BICYCLE
(value:'bicycle'
) -
BIKESHARE
(value:'bikeshare'
) -
MOTOR_SCOOTER
(value:'motor_scooter'
) -
MOTORCYCLE
(value:'motorcycle'
) -
PEDESTRIAN
(value:'pedestrian'
) -
LOW_SPEED_VEHICLE
(value:'low_speed_vehicle'
)