diff --git a/features/bicycle/area.feature b/features/bicycle/area.feature index a4dc04cdb..24bfbe2db 100644 --- a/features/bicycle/area.feature +++ b/features/bicycle/area.feature @@ -102,7 +102,7 @@ Feature: Bike - Squares and other areas | d | a | abcda | | a | d | abcda | - @area @name + @area @name @todo Scenario: Bike - name on Given the node map | x | a | b | y | diff --git a/profiles/bicycle.lua b/profiles/bicycle.lua index 7231397b3..efb5bcb50 100644 --- a/profiles/bicycle.lua +++ b/profiles/bicycle.lua @@ -165,10 +165,11 @@ function way_function (way) elseif "" ~= name then way.name = name else - way.name = "{highway:"..highway.."}" -- if no name exists, use way type - -- this encoding scheme is excepted to be a temporary solution + way.name = highway -- if no name exists, use way type end + way.mode = 0 + -- speed if route_speeds[route] then -- ferries (doesn't cover routes tagged using relations) @@ -208,7 +209,6 @@ function way_function (way) if pedestrian_speeds[highway] then -- pedestrian-only ways and areas way.speed = pedestrian_speeds[highway] - way.backward_speed = way.speed-1 elseif man_made and man_made_speeds[man_made] then -- man made structures way.speed = man_made_speeds[man_made]