uturns -> continue_straight
This commit is contained in:
@@ -91,10 +91,10 @@ surface_speeds = {
|
||||
}
|
||||
|
||||
-- these need to be global because they are accesed externaly
|
||||
properties.traffic_signal_penalty = 2
|
||||
properties.use_turn_restrictions = false
|
||||
properties.u_turn_penalty = 20
|
||||
properties.allow_u_turn_at_via = true
|
||||
properties.traffic_signal_penalty = 2
|
||||
properties.use_turn_restrictions = false
|
||||
properties.u_turn_penalty = 20
|
||||
properties.continue_straight_at_waypoint = false
|
||||
|
||||
local obey_oneway = true
|
||||
local ignore_areas = true
|
||||
|
||||
@@ -132,6 +132,7 @@ maxspeed_table = {
|
||||
properties.u_turn_penalty = 20
|
||||
properties.traffic_signal_penalty = 2
|
||||
properties.use_turn_restrictions = true
|
||||
properties.continue_straight_at_waypoint = true
|
||||
|
||||
local side_road_speed_multiplier = 0.8
|
||||
|
||||
|
||||
+4
-4
@@ -64,10 +64,10 @@ leisure_speeds = {
|
||||
["track"] = walking_speed
|
||||
}
|
||||
|
||||
properties.traffic_signal_penalty = 2
|
||||
properties.u_turn_penalty = 2
|
||||
properties.use_turn_restrictions = false
|
||||
properties.allow_u_turn_at_via = true
|
||||
properties.traffic_signal_penalty = 2
|
||||
properties.u_turn_penalty = 2
|
||||
properties.use_turn_restrictions = false
|
||||
properties.continue_straight_at_waypoint = false
|
||||
|
||||
local fallback_names = true
|
||||
|
||||
|
||||
@@ -16,10 +16,10 @@ speed_profile = {
|
||||
|
||||
-- these settings are read directly by osrm
|
||||
|
||||
properties.allow_u_turn_at_via = false
|
||||
properties.use_turn_restrictions = true
|
||||
properties.traffic_signal_penalty = 7 -- seconds
|
||||
properties.u_turn_penalty = 20
|
||||
properties.continue_straight_at_waypoint = true
|
||||
properties.use_turn_restrictions = true
|
||||
properties.traffic_signal_penalty = 7 -- seconds
|
||||
properties.u_turn_penalty = 20
|
||||
|
||||
function limit_speed(speed, limits)
|
||||
-- don't use ipairs(), since it stops at the first nil value
|
||||
|
||||
Reference in New Issue
Block a user