From 9125481aed58ce5adc6862094961e88b40fa6d8e Mon Sep 17 00:00:00 2001 From: quaelnix <122357328+quaelnix@users.noreply.github.com> Date: Sun, 16 Jul 2023 19:33:34 +0200 Subject: [PATCH] Fix regression in fastbike profile https://github.com/abrensch/brouter/commit/e66468b091506833eb5890656a0ef3a538397ab2 broke the logic that handled highway=path. This patch reverts the problematic change in behavior. See: https://github.com/nrenner/brouter-web/issues/756 --- misc/profiles2/fastbike.brf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/misc/profiles2/fastbike.brf b/misc/profiles2/fastbike.brf index 1c48994..ab21a45 100644 --- a/misc/profiles2/fastbike.brf +++ b/misc/profiles2/fastbike.brf @@ -261,8 +261,7 @@ assign costfactor switch highway=cycleway 1.3 switch isresidentialorliving switch isunpaved 10 1.2 switch highway=service switch isunpaved 10 1.2 - switch highway=path switch avoid_path 2.1 1.1 - switch or highway=track or highway=road highway=footway + switch or highway=track or highway=road or highway=path highway=footway switch tracktype=grade1 switch isunpaved 3 1.2 switch tracktype=grade2 switch isunpaved 10 3 switch tracktype=grade3 10.0