Honour British spelling of manoeuvre relation (#5004)

* Support British spelling of manoeuvre to comply with OSM standards.
This commit is contained in:
Daniel Patterson
2018-04-06 17:08:30 -07:00
committed by GitHub
parent b08191b2c4
commit 282415bbc1
3 changed files with 26 additions and 8 deletions
+7
View File
@@ -28,6 +28,11 @@ Feature: Maneuver tag support
| maneuver | hij | i | cde | turn | sharp_left |
| maneuver | abc | c | cde | turn | slight_left |
| maneuver | cde | c | cgi | turn | straight |
| manoeuvre| cgi | c | abc | turn | right |
And the relations
| type | way:from | node:via | way:to | manoeuvre | maneuver | direction |
| maneuver | cgi | c | cde | fork | turn | slight_right |
When I route I should get
| waypoints | route | turns |
@@ -37,6 +42,8 @@ Feature: Maneuver tag support
# Testing re-awakening suppressed turns
| a,e | A Street,B Street,B Street | depart,turn slight left,arrive |
| e,i | B Street,C Street,C Street | depart,turn straight,arrive |
| i,e | C Street,B Street,B Street | depart,fork slight right,arrive |
| i,a | C Street,A Street,A Street | depart,turn right,arrive |
Scenario: single via-way
Given the node map