Merge branch 'master' of https://github.com/poutnikl/brouter
This commit is contained in:
commit
4fede142dc
1 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ assign p_standby = 250 # Watt
|
|||
# technical parameters
|
||||
|
||||
assign validForCars = true
|
||||
assign avoid_tolls = false #poutnikl push request
|
||||
assign avoid_toll = false # %avoid_toll% Avoid toll roads, if possible
|
||||
assign pass1coefficient = 1.3
|
||||
assign turnInstructionMode = 1 # 0=none, 1=auto-choose, 2=locus-style, 3=osmand-style
|
||||
|
||||
|
@ -180,7 +180,7 @@ assign maxspeed =
|
|||
|
||||
#assign costfactor = if equal maxspeed 0 then 10000 else 0
|
||||
assign costfactor = if equal maxspeed 0 then 10000 #poutnikl push request
|
||||
else if and avoid_tolls toll=yes then 9999 else 0
|
||||
else if and avoid_toll toll=yes then 9999 else 0
|
||||
|
||||
assign minspeed =
|
||||
switch highway=motorway|motorway_link|trunk 75 0
|
||||
|
@ -243,7 +243,7 @@ assign caraccess
|
|||
motorcar=yes|permissive|designated|destination
|
||||
|
||||
assign initialcost =
|
||||
switch and avoid_tolls barrier=toll_booth 1000000 #poutnikl push request
|
||||
switch and avoid_toll barrier=toll_booth 1000000 #poutnikl push request
|
||||
switch caraccess
|
||||
0
|
||||
1000000
|
||||
|
|
Loading…
Reference in a new issue