Fix regression in trekking profile
The 'avoid_path' logic which was added in 89b71c2bfb
ignores the cycleroute logic and makes no sense.
This commit is contained in:
parent
9125481aed
commit
188280b448
1 changed files with 1 additions and 2 deletions
|
@ -300,8 +300,7 @@ assign costfactor
|
|||
#
|
||||
else if ( highway=track|road|path|footway ) then
|
||||
(
|
||||
if ( and highway=path avoid_path ) then ( 10.0 )
|
||||
else if ( tracktype=grade1 ) then ( if probablyGood then 1.0 else 1.3 )
|
||||
if ( tracktype=grade1 ) then ( if probablyGood then 1.0 else 1.3 )
|
||||
else if ( tracktype=grade2 ) then ( if probablyGood then 1.1 else 2.0 )
|
||||
else if ( tracktype=grade3 ) then ( if probablyGood then 1.5 else 3.0 )
|
||||
else if ( tracktype=grade4 ) then ( if probablyGood then 2.0 else 5.0 )
|
||||
|
|
Loading…
Reference in a new issue