Merge pull request #1 from vodie/missing-initialclassifier

Missing initialclassifier
This commit is contained in:
vodie 2020-05-29 02:54:48 +02:00 committed by GitHub
commit bf3f4a6bdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 0 deletions

View file

@ -62,6 +62,9 @@ assign isunpaved not or surface= or ispaved or surface=fine_gravel surface=cobbl
assign turncost = if junction=roundabout then 0
else 90
assign initialclassifier =
if route=ferry then 1
else 0
assign initialcost switch route=ferry 10000 0

View file

@ -109,6 +109,10 @@ assign issidewalk not or sidewalk= or sidewalk=none sidewalk=no
assign turncost switch or shortest_way is_ldhr 0 turncost_value #v1.5
assign initialclassifier =
if route=ferry then 1
else 0
assign initialcost
switch route=ferry 10000

View file

@ -23,6 +23,10 @@ assign turnInstructionMode = 1 # 0=none, 1=auto-choose, 2=locus-style, 3=osman
assign turncost = if junction=roundabout then 0
else 90
assign initialclassifier =
if route=ferry then 1
else 0
assign initialcost switch route=ferry 20000 0

View file

@ -17,6 +17,10 @@ assign nodeaccessgranted or any_cycleroute lcn=yes
assign turncost 0
assign initialclassifier =
if route=ferry then 1
else 0
assign initialcost switch route=ferry 10000 0
#