more lookup changes
This commit is contained in:
parent
8fa82633d4
commit
e13d1ad468
12 changed files with 192 additions and 76 deletions
|
|
@ -37,7 +37,7 @@ assign isunpaved not or surface= or ispaved or surface=fine_gravel surface=cobbl
|
|||
|
||||
assign turncost 90
|
||||
|
||||
assign initialcost switch highway=ferry 10000 0
|
||||
assign initialcost switch route=ferry 10000 0
|
||||
|
||||
#
|
||||
# implicit access here just from the motorroad tag
|
||||
|
|
@ -96,7 +96,7 @@ assign oneway
|
|||
or oneway=yes or oneway=true oneway=1
|
||||
assign onewaypenalty
|
||||
switch switch reversedirection=yes oneway oneway=-1
|
||||
switch or cycleway=opposite or cycleway=opposite_lane cycleway=opposite_track 0
|
||||
switch or cycleway=opposite or cycleway=opposite_lane or cycleway=opposite_track oneway:bicycle=no 0
|
||||
switch or highway=primary highway=primary_link 50
|
||||
switch or highway=secondary highway=secondary_link 30
|
||||
switch or highway=tertiary highway=tertiary_link 20
|
||||
|
|
@ -107,6 +107,8 @@ assign costfactor
|
|||
|
||||
add max onewaypenalty accesspenalty
|
||||
|
||||
switch and highway= not route=ferry 100000
|
||||
|
||||
switch or highway=motorway highway=motorway_link 100000
|
||||
switch or highway=proposed highway=abandoned 100000
|
||||
switch or highway=trunk highway=trunk_link 10
|
||||
|
|
@ -116,7 +118,7 @@ assign costfactor
|
|||
switch highway=unclassified 1.1
|
||||
switch highway=pedestrian 10
|
||||
switch highway=steps 1000
|
||||
switch highway=ferry 5.67
|
||||
switch route=ferry 5.67
|
||||
switch highway=bridleway 5
|
||||
switch highway=cycleway 1.3
|
||||
switch or highway=residential highway=living_street switch isunpaved 10 1.2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue