Ch Disabled incorrect route

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

Actually, this seems to be the case with CH enabled and Disabled. The rest of the route is fine, it only seems to be on roundabouts

Here is the custom model.

what is on the server-side? if this is on the server-side it should actually return an error :slight_smile:

Because if you build your profile without any other base profile you need to somehow consider roundabouts or one-way roads. Or use car_access if you want to avoid this work and have a specific vehicle in mind.