Prototype configurable snapping.

This commit is contained in:
Daniel Patterson
2019-02-02 22:12:05 -08:00
parent 8b45ff7a18
commit 2aa9e2859a
10 changed files with 137 additions and 32 deletions
+20
View File
@@ -35,3 +35,23 @@ Feature: Car - Allowed start/end modes
| from | to | route | modes |
| 1 | 2 | ab,ab | driving,driving |
| 2 | 1 | ab,ab | driving,driving |
Scenario: Car - URL override of non-startpoints
Given the node map
"""
a 1 b c 2 d
"""
Given the query options
| snapping | any |
And the ways
| nodes | highway | access |
| ab | service | private |
| bc | primary | |
| cd | service | private |
When I route I should get
| from | to | route |
| 1 | 2 | ab,bc,cd |
| 2 | 1 | cd,bc,ab |