Skip to content

Commit

Permalink
Bicycle: treat use_sidepath as no access
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhoek committed Dec 1, 2019
1 parent 48be5a5 commit 30a4e31
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions features/bicycle/access.feature
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ Feature: Bike - Access tags on ways
| | | agricultural | |
| | | forestry | |
| | | delivery | |
| | | use_sidepath | |

Scenario: Bike - Access tags on both node and way
Then routability should be
Expand Down
8 changes: 7 additions & 1 deletion profiles/bicycle.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,13 @@ function setup()
'private',
'agricultural',
'forestry',
'delivery'
'delivery',
-- When a way is tagged with `use_sidepath` a parallel way suitable for
-- cyclists is mapped and must be used instead (by law). This tag is
-- used on ways that normally may be used by cyclists, but not when
-- a signposted parallel cycleway is available. For purposes of routing
-- cyclists, this value should be treated as 'no access for bicycles'.
'use_sidepath'
},

restricted_access_tag_list = Set { },
Expand Down

0 comments on commit 30a4e31

Please sign in to comment.