Skip to content

Commit 68dcab7

Browse files
authored
Merge pull request #5622 from jdhoek/bug/bicycle_use_sidepath
Bicycle: treat use_sidepath as no access
2 parents 48be5a5 + 92406da commit 68dcab7

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- CHANGED: allow routing past `barrier=arch` [#5352](https://github.com/Project-OSRM/osrm-backend/pull/5352)
1616
- CHANGED: default car weight was reduced to 2000 kg. [#5371](https://github.com/Project-OSRM/osrm-backend/pull/5371)
1717
- CHANGED: default car height was reduced to 2 meters. [#5389](https://github.com/Project-OSRM/osrm-backend/pull/5389)
18+
- FIXED: treat `bicycle=use_sidepath` as no access on the tagged way. [#5622](https://github.com/Project-OSRM/osrm-backend/pull/5622)
1819
- Misc:
1920
- CHANGED: Reduce memory usage for raster source handling. [#5572](https://github.com/Project-OSRM/osrm-backend/pull/5572)
2021

features/bicycle/access.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ Feature: Bike - Access tags on ways
127127
| | | agricultural | |
128128
| | | forestry | |
129129
| | | delivery | |
130+
| | | use_sidepath | |
130131

131132
Scenario: Bike - Access tags on both node and way
132133
Then routability should be

profiles/bicycle.lua

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,13 @@ function setup()
5656
'private',
5757
'agricultural',
5858
'forestry',
59-
'delivery'
59+
'delivery',
60+
-- When a way is tagged with `use_sidepath` a parallel way suitable for
61+
-- cyclists is mapped and must be used instead (by law). This tag is
62+
-- used on ways that normally may be used by cyclists, but not when
63+
-- a signposted parallel cycleway is available. For purposes of routing
64+
-- cyclists, this value should be treated as 'no access for bicycles'.
65+
'use_sidepath'
6066
},
6167

6268
restricted_access_tag_list = Set { },

0 commit comments

Comments
 (0)