Merge pull request #471 from Totorrr/profiles-no-total-access-cycleroutes

Remove cycleroute always having access granted
This commit is contained in:
afischerdev 2023-04-02 18:01:06 +02:00 committed by GitHub
commit b7842e1722
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 11 deletions

View file

@ -112,8 +112,7 @@ assign defaultaccess =
# calculate logical bike access
#
assign bikeaccess =
if any_cycleroute then true
else if bicycle= then
if bicycle= then
(
if bicycle_road=yes then true
else if vehicle= then ( if highway=footway then false else defaultaccess )
@ -137,6 +136,7 @@ assign footaccess =
assign accesspenalty =
if bikeaccess then 0
else if footaccess then 4
else if any_cycleroute then 15
else 10000
#