From a10a193223db05a57836ebf4f45070bb65c4476b Mon Sep 17 00:00:00 2001 From: maciejs Date: Wed, 4 Dec 2024 20:10:38 +0100 Subject: [PATCH 1/2] 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 From b1b9a89580be5d7e2a3b252631339e4ecec14d42 Mon Sep 17 00:00:00 2001 From: maciejs Date: Mon, 23 Dec 2024 11:46:22 +0100 Subject: [PATCH 2/2] Update trekking.brf --- misc/profiles2/trekking.brf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/profiles2/trekking.brf b/misc/profiles2/trekking.brf index 9511058..0ad1f6c 100644 --- a/misc/profiles2/trekking.brf +++ b/misc/profiles2/trekking.brf @@ -171,7 +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 ( not footaccess ) then 100 else if ( junction=roundabout|circular ) then 60 else if ( highway=primary|primary_link ) then 50 else if ( highway=secondary|secondary_link ) then 30