Handle small roundabouts, fixes #516.

This gives us ~51k additional roundabout instructions.
Guidance handes sizes internally.

Note: it is highway=mini_roundabout but junction=roundabout

References:
- http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmini_roundabout
- http://wiki.openstreetmap.org/wiki/Tag:junction=roundabout
- http://taginfo.openstreetmap.org/tags/highway=mini_roundabout
This commit is contained in:
Daniel J. Hofmann
2016-05-30 16:27:06 +02:00
parent e7159adf59
commit 7641b12b08
4 changed files with 9 additions and 8 deletions
+2 -2
View File
@@ -103,11 +103,11 @@ function way_function (way, result)
-- nothing to do
elseif oneway == "-1" then
result.forward_mode = mode.inaccessible
elseif oneway == "yes" or oneway == "1" or oneway == "true" or junction == "roundabout" then
elseif oneway == "yes" or oneway == "1" or oneway == "true" or junction == "roundabout" or highway == "mini_roundabout" then
result.backward_mode = mode.inaccessible
end
if junction == 'roundabout' then
if junction == 'roundabout' or highway == 'mini_roundabout' then
result.roundabout = true
end
end