Luaprinter: Assume twoway by default, more relaxed interpretation of oneway tag, remove throwing error

This commit is contained in:
Pieter Vander Vennet 2020-11-18 21:47:17 +01:00
parent f003662d8c
commit 878cfbb48f

View file

@ -90,7 +90,7 @@ namespace AspectedRouting.IO.itinero1
" result.direction = 0",
" if (oneway == \"with\" or oneway == \"yes\") then",
" result.direction = 1",
" if (oneway == \"against\" or oneway == \"-1\") then",
" elseif (oneway == \"against\" or oneway == \"-1\") then",
" result.direction = 2",
" end",
"",