Don't count ferries as public transportation

This commit is contained in:
Patrick Niklaus 2015-09-27 15:45:41 +02:00
parent 1ead4cbb14
commit 7015ed203a

View File

@ -169,7 +169,7 @@ function way_function (way, result)
local public_transport = way:get_value_by_key("public_transport")
local bridge = way:get_value_by_key("bridge")
if (not highway or highway == '') and
(not use_public_transport or not route or route == '') and
(not route or route == '') and
(not use_public_transport or not railway or railway=='') and
(not amenity or amenity=='') and
(not man_made or man_made=='') and