The list of vehicles should have a plural variable name: vehicle_typeS; see https://github.com/anyways-open/routing-profiles/issues/58
This commit is contained in:
parent
91afe119c4
commit
1408916314
1 changed files with 1 additions and 1 deletions
|
@ -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 + "\""))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue