mark failing name test as todo
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user