Route over alternating oneways but not reversible ones, closes #2837.
- alternating: high frequency, route over them with penalty - reversible: low frequency, do not route over them - time dependence - http://wiki.openstreetmap.org/wiki/Tag:oneway%3Dreversible - http://wiki.openstreetmap.org/wiki/Tag:oneway%3Dalternating This distinction was made at the Elbe-Labe Meetup in Dresden, with accompanying Wiki pages and tagging scheme. Thanks all involed! - https://github.com/Project-OSRM/osrm-backend/issues/2837 - http://wiki.openstreetmap.org/wiki/Key:oneway
This commit is contained in:
committed by
Daniel J. H
parent
6cf99c886f
commit
a13cf3f2be
@@ -85,3 +85,12 @@ Feature: Car - Oneway streets
|
||||
When I route I should get
|
||||
| from | to | route |
|
||||
| a | c | ab,bc,bc |
|
||||
|
||||
|
||||
# Reversible oneways (low frequency) vs alternating oneways (high frequency).
|
||||
# See: https://github.com/Project-OSRM/osrm-backend/issues/2837
|
||||
Scenario: Car - Route over alternating but not reversible oneways
|
||||
Then routability should be
|
||||
| highway | oneway | forw | backw |
|
||||
| primary | reversible | | |
|
||||
| primary | alternating | x | x |
|
||||
|
||||
Reference in New Issue
Block a user