diff --git a/AspectedRouting/IO/itinero1/LuaPrinter1.cs b/AspectedRouting/IO/itinero1/LuaPrinter1.cs index 6bae336..2398e2b 100644 --- a/AspectedRouting/IO/itinero1/LuaPrinter1.cs +++ b/AspectedRouting/IO/itinero1/LuaPrinter1.cs @@ -51,7 +51,7 @@ namespace AspectedRouting.IO.itinero1 $"-- Itinero 1.0-profile, generated by AspectedRouting.", $"name = \"{_profile.Name}\"", "normalize = false", - "vehicle_type = {" + string.Join(", ", _profile.VehicleTyps.Select(s => "\"" + s + "\"")) + "}", + "vehicle_types = {" + string.Join(", ", _profile.VehicleTyps.Select(s => "\"" + s + "\"")) + "}", // meta_whitelist is defined in the profile file, these are tags that are included in the generated route, but are not relevant for determining weights "meta_whitelist = {\n" + string.Join("\n , ", _profile.Metadata.Select(s => "\"" + s + "\""))