When i add the value for
graph.flag_encoders = foot, car, traffic|turn_costs=true
,
and setTurnCosts = true
for car profile,
it gives error
java.lang.IllegalArgumentException: The profile 'car' was configured with 'turn_costs=true', but the corresponding vehicle 'car' does not support turn costs.
But when i change
graph.flag_encoders = foot, traffic, car |turn_costs=true
and setTurnCosts = true
for car profile,
then it works without any error.
Is there any specific order in which graph.flag_encoders
need to be set for turn_costs to work?