Hello. For some reason my routes are built on the opposite path. Maybe there is a setting somewhere in the config to prevent this?

Maybe I gave too little information. Here is priority from config file: “priority”: [
{
“if”: “in_custom_minsk”,
“multiply_by”: “0.1”
},
{
“if”: “in_custom_kobrin”,
“multiply_by”: “0.1”
},
{
“if”: “in_custom_baranovichi”,
“multiply_by”: “0.1”
},
{
“if”: “in_custom_road_P2_1”,
“multiply_by”: “0.5”
},
{
“if”: “in_custom_road_P2_2”,
“multiply_by”: “0.5”
},
{
“if”: “in_custom_bobruisk”,
“multiply_by”: “0.1”
},
{
“if”: “in_custom_homel”,
“multiply_by”: “0.1”
},
{
“if”: “in_custom_mahilou”,
“multiply_by”: “0.1”
},
{
“if”: “in_custom_orsha”,
“multiply_by”: “0.1”
},
{
“if”: “in_custom_vitsebsk”,
“multiply_by”: “0.1”
},
{
“if”: “in_custom_barysau”,
“multiply_by”: “0.1”
},
{
“if”: “in_custom_stolbtsy”,
“multiply_by”: “0.1”
},
{
“if”: “in_custom_slutsk”,
“multiply_by”: “0.1”
},
{
“if”: “road_class != MOTORWAY”,
“multiply_by”: “0.6”
},
{
“if”: “road_class == PRIMARY”,
“multiply_by”: “0.7”
},
{
“if”: “road_class == LIVING_STREET || road_class == TERTIARY || road_class == RESIDENTIAL || road_class == UNCLASSIFIED || road_class == SECONDARY || road_class == TRACK”,
“multiply_by”: “0.1”
},
{
“if”: “road_class == STEPS || road_class == TERTIARY || road_class == BRIDLEWAY || road_class == CYCLEWAY || road_class == PATH || road_class == FOOTWAY || road_class == PEDESTRIAN || road_class == PLATFORM || road_class == CORRIDOR”,
“multiply_by”: “00”
},
{
“if”: “max_weight < 4.5”,
“multiply_by”: “0”
},
{
“if”: “max_speed <= 80”,
“multiply_by”: “0.7”
},
{
“if”: “max_width < 3 || max_length < 8 || max_height < 3”,
“multiply_by”: “0”
},
{
“if”: “toll == NO”,
“multiply_by”: “0.5”
}
]

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.