From a10a193223db05a57836ebf4f45070bb65c4476b Mon Sep 17 00:00:00 2001 From: maciejs Date: Wed, 4 Dec 2024 20:10:38 +0100 Subject: [PATCH] Update trekking.brf --- misc/profiles2/trekking.brf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/profiles2/trekking.brf b/misc/profiles2/trekking.brf index 5e7e400..9511058 100644 --- a/misc/profiles2/trekking.brf +++ b/misc/profiles2/trekking.brf @@ -135,10 +135,9 @@ assign bikeaccess = # calculate logical foot access # assign footaccess = - if bikeaccess then true - else if bicycle=dismount then true + if bicycle=dismount then true else if foot= then defaultaccess - else not foot=private|no + else not foot=private|no|use_sidepath # # if not bike-, but foot-acess, just a moderate penalty, @@ -172,6 +171,7 @@ assign onewaypenalty = else if ( oneway:bicycle=no ) then 0 else if ( cycleway:left:oneway=no ) then 0 else if ( cycleway:right:oneway=no ) then 0 + else if ( not footaccess ) then 10000 else if ( junction=roundabout|circular ) then 60 else if ( highway=primary|primary_link ) then 50 else if ( highway=secondary|secondary_link ) then 30