use way type for unnamed strets in car profile

This commit is contained in:
Emil Tin 2012-10-02 16:08:50 +02:00
parent 04f71e65ee
commit 66ff69355d

View File

@ -114,6 +114,8 @@ function way_function (way, numberOfNodesInWay)
way.name = ref way.name = ref
elseif "" ~= name then elseif "" ~= name then
way.name = name way.name = name
else
way.name = highway -- if no name exists, use way type
end end
if "roundabout" == junction then if "roundabout" == junction then