From ed62e368dc5117398189255c285b105b9c594aab Mon Sep 17 00:00:00 2001 From: ansons Date: Sat, 30 Dec 2023 12:47:07 -0800 Subject: [PATCH] Force building car tables --- src/main/java/com/conveyal/r5/transit/TransportNetworkCache.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/conveyal/r5/transit/TransportNetworkCache.java b/src/main/java/com/conveyal/r5/transit/TransportNetworkCache.java index b7f1f1d8f..7e96d6638 100644 --- a/src/main/java/com/conveyal/r5/transit/TransportNetworkCache.java +++ b/src/main/java/com/conveyal/r5/transit/TransportNetworkCache.java @@ -201,6 +201,7 @@ private TransportNetworkConfig loadNetworkConfig (String networkId) { network.transitLayer.buildDistanceTables(null); Set buildGridsForModes = Sets.newHashSet(StreetMode.WALK); + buildGridsForModes.add(StreetMode.CAR); if (networkConfig != null && networkConfig.buildGridsForModes != null) { buildGridsForModes.addAll(networkConfig.buildGridsForModes); }