Canonicalizes all OSM string list handling in the profiles
This commit is contained in:
parent
8508834e50
commit
5e9397fcca
@ -42,7 +42,7 @@ Feature: Exit Numbers and Names
|
|||||||
|
|
||||||
When I route I should get
|
When I route I should get
|
||||||
| waypoints | route | turns | exits |
|
| waypoints | route | turns | exits |
|
||||||
| a,f | MainRoad,ExitRamp,ExitRamp | depart,off ramp slight right,arrive | ,10;12, |
|
| 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
|
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
|
end
|
||||||
|
|
||||||
if exits then
|
if exits then
|
||||||
result.exits = exits
|
result.exits = canonicalizeStringList(exits, ";")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user