Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a speedprofile for walking, and a test for basic way accessability #129

Merged
merged 1 commit into from
Feb 18, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 27 additions & 2 deletions features/access.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@routing @access
Feature: Oneway streets
Basic accessability of various way types.
Feature: Default speedprofiles
Basic accessability of various way types depending on speedprofile.

Scenario: Basic access for cars
Given the speedprofile "car"
Expand Down Expand Up @@ -53,3 +53,28 @@ Feature: Oneway streets
| cycleway | x |
| bridleway | |

Scenario: Basic access for walking
Given the speedprofile "foot"
Then routability should be
| highway | forw |
| motorway | |
| motorway_link | |
| trunk | |
| trunk_link | x |
| primary | x |
| secondary | x |
| tertiary | x |
| residential | x |
| service | x |
| unclassified | x |
| living_street | x |
| road | x |
| track | x |
| path | x |
| footway | x |
| pedestrian | x |
| steps | x |
| pier | x |
| cycleway | x |
| bridleway | |

28 changes: 28 additions & 0 deletions speedprofiles/foot.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[foot]
accessTag = foot
defaultSpeed = 5
obeyOneways = no
useRestrictions = no
obeyBollards = no

primary = 5
primary_link = 5
secondary = 5
secondary_link = 5
tertiary = 5
residential = 5
unclassified = 5
living_street = 5
road = 5
service = 5
track = 5
path = 5
cycleway = 5
footway = 5
pedestrian = 5
pier = 5
steps = 2

ferry = 5

excludeFromGrid = ferry