Canonicalizes all OSM string list handling in the profiles
This commit is contained in:
parent
8508834e50
commit
5e9397fcca
@ -41,8 +41,8 @@ Feature: Exit Numbers and Names
|
||||
| ef | motorway_link | ExitRamp | |
|
||||
|
||||
When I route I should get
|
||||
| waypoints | route | turns | exits |
|
||||
| a,f | MainRoad,ExitRamp,ExitRamp | depart,off ramp slight right,arrive | ,10;12, |
|
||||
| waypoints | route | turns | exits |
|
||||
| a,f | MainRoad,ExitRamp,ExitRamp | depart,off ramp slight right,arrive | ,10; 12, |
|
||||
|
||||
|
||||
Scenario: Exit number on the ways after the motorway junction, multiple exits
|
||||
|
@ -48,7 +48,7 @@ function Handlers.handle_names(way,result,data,profile)
|
||||
end
|
||||
|
||||
if exits then
|
||||
result.exits = exits
|
||||
result.exits = canonicalizeStringList(exits, ";")
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user