update foot profile, add tests for access, barriers, ferries, names, surface, more

This commit is contained in:
Emil Tin
2013-09-08 22:51:44 +02:00
parent 01097f7225
commit 0f94fb9d6d
10 changed files with 567 additions and 148 deletions
+33
View File
@@ -0,0 +1,33 @@
@routing @foot @names
Feature: Foot - Street names in instructions
Background:
Given the profile "foot"
Scenario: Foot - A named street
Given the node map
| a | b |
| | c |
And the ways
| nodes | name |
| ab | My Way |
| bc | Your Way |
When I route I should get
| from | to | route |
| a | c | My Way,Your Way |
@unnamed
Scenario: Foot - Use way type to describe unnamed ways
Given the node map
| a | b | c | d |
And the ways
| nodes | highway | name |
| ab | footway | |
| bcd | track | |
When I route I should get
| from | to | route |
| a | d | {highway:footway},{highway:track} |