From 27bed71a05fbc6f322a9b36ac9f7785b30da7078 Mon Sep 17 00:00:00 2001 From: Michael Reichert Date: Tue, 14 May 2024 14:58:19 +0200 Subject: [PATCH] Add turn restriction vehicle types for trains etc. --- core/src/main/java/com/graphhopper/config/TurnCostsConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/com/graphhopper/config/TurnCostsConfig.java b/core/src/main/java/com/graphhopper/config/TurnCostsConfig.java index f5c8b8c904d..4f3f6828400 100644 --- a/core/src/main/java/com/graphhopper/config/TurnCostsConfig.java +++ b/core/src/main/java/com/graphhopper/config/TurnCostsConfig.java @@ -17,6 +17,7 @@ public class TurnCostsConfig { "minibus", "mofa", "moped", "motorcar", "motorcycle", "motor_vehicle", "motorhome", "nev", "ohv", "psv", "residents", "share_taxi", "small_electric_vehicle", "speed_pedelec", + "train", "light_rail", "tram", "subway", "taxi", "trailer", "tourist_bus"); public static TurnCostsConfig car() {