Skip to content

Commit

Permalink
Force building car tables
Browse files Browse the repository at this point in the history
  • Loading branch information
ansoncfit committed Dec 30, 2023
1 parent d61834b commit ed62e36
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ private TransportNetworkConfig loadNetworkConfig (String networkId) {
network.transitLayer.buildDistanceTables(null);

Set<StreetMode> buildGridsForModes = Sets.newHashSet(StreetMode.WALK);
buildGridsForModes.add(StreetMode.CAR);
if (networkConfig != null && networkConfig.buildGridsForModes != null) {
buildGridsForModes.addAll(networkConfig.buildGridsForModes);
}
Expand Down

0 comments on commit ed62e36

Please sign in to comment.