Remove cycleroute always having access granted
Some bicycle routes can have portions which are not accessible. Potential reasons for this: - temporary construction work on the ways (sometimes for months), - local access change without simultaneous update of bicycle route relation (lack of mapper's knowledge or lack of time to redefine an updated route), - ... This commit changes the fastbike profile so that being on a cycle route does not automatically mean "access granted" for bicycles. The normal access checkings are used instead. However, the accesspenalty is set to 15 if the no-access way belongs to such a route, so that the way is not completely forbidden if there is no other alternative unavailable.
This commit is contained in:
parent
35f4e3312e
commit
e2c6811761
1 changed files with 10 additions and 9 deletions
|
@ -87,7 +87,6 @@ assign defaultaccess
|
||||||
# calculate logical bike access
|
# calculate logical bike access
|
||||||
#
|
#
|
||||||
assign bikeaccess =
|
assign bikeaccess =
|
||||||
or any_cycleroute
|
|
||||||
switch bicycle=
|
switch bicycle=
|
||||||
switch bicycle_road=yes
|
switch bicycle_road=yes
|
||||||
true
|
true
|
||||||
|
@ -115,6 +114,8 @@ assign accesspenalty
|
||||||
0
|
0
|
||||||
switch footaccess
|
switch footaccess
|
||||||
6
|
6
|
||||||
|
switch any_cycleroute
|
||||||
|
15
|
||||||
10000
|
10000
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue