Hi,
I have disabled CH and added a custom model, which is causing the route to be down the wrong side of a roundabout.
When CH is enabled the route is correct with roundabouts, but for my specific case I require CH to be disabled.
Turn costs is enabled.
Here is the custom model.
{
“distance_influence”: 30,
“priority”: [
{
“if”: “road_environment == FERRY”,
“multiply_by”: “0.4”
},
{
“if”: “road_class == MOTORWAY”,
“multiply_by”: “0.95”
},
{
“if”: “road_class == PRIMARY”,
“multiply_by”: “1.0”
},
{
“if”: “road_class == SECONDARY”,
“multiply_by”: “0.95”
},
{
“if”: “road_class == TERTIARY”,
“multiply_by”: “0.9”
},
{
“if”: “road_class == RESIDENTIAL”,
“multiply_by”: “0.85”
},
{
“if”: “road_class == TRACK || road_class == PATH || road_class == SERVICE”,
“multiply_by”: “0.4”
}
],
“speed”: [
{
“if”: “road_class == MOTORWAY”,
“multiply_by”: “0.95”
},
{
“if”: “road_class == RESIDENTIAL”,
“multiply_by”: “0.9”
}
],
“areas”: {
“type”: “FeatureCollection”,
“features”:
}
}
Here is the output
Thanks,
Brandon