我安装了默认的OSRM安装(最新的),并且当我尝试通过回旋处在两点之间规划路线时,系统会避免使用特定的回旋处。其他环岛的工作。我试图更改 .lua 配置文件中的设置,但没有结果。
如何迫使道路过回旋处?
如果我尝试通过OSRM演示计划路线,则使用特定的回旋处。
捷克共和国
/route/v1/driving/17.922981977462772,49.91442477286673;17.916222810745243, 49.911654332464146?overview=false&alternatives=true&steps=true;
我的 Car.lua (不是默认设置),但默认情况下也不起作用:
properties = {
max_speed_for_map_matching = 180/3.6, -- 180kmph -> m/s
weight_name = 'routability',
process_call_tagless_node = false,
u_turn_penalty = 20,
continue_straight_at_waypoint = false,
use_turn_restrictions = false,
left_hand_driving = false,
traffic_light_penalty = 2
},
default_mode = mode.driving,
default_speed = 10,
oneway_handling = false,
side_road_multiplier = 0.8,
turn_penalty = 7.5,
speed_reduction = 0.8,
turn_bias = 1.075,
cardinal_directions = false, ...