From eeeb5c1aba544d43e549fd2c2d5965521c7afda8 Mon Sep 17 00:00:00 2001 From: rakow Date: Fri, 6 Sep 2024 11:08:08 +0200 Subject: [PATCH] use correct transit modes in pt pseudo network --- .../src/main/java/org/matsim/pt/utils/CreatePseudoNetwork.java | 1 + 1 file changed, 1 insertion(+) diff --git a/matsim/src/main/java/org/matsim/pt/utils/CreatePseudoNetwork.java b/matsim/src/main/java/org/matsim/pt/utils/CreatePseudoNetwork.java index e2d6ff5078c..30ab02ad413 100644 --- a/matsim/src/main/java/org/matsim/pt/utils/CreatePseudoNetwork.java +++ b/matsim/src/main/java/org/matsim/pt/utils/CreatePseudoNetwork.java @@ -120,6 +120,7 @@ private void createStopNodesAndLoopLinks() { this.nodes.put(stop, node); Link loopLink = this.network.getFactory().createLink(Id.createLinkId (this.prefix + stop.getId()), node, node); + loopLink.setAllowedModes(this.transitModes); stop.setLinkId(loopLink.getId()); this.network.addLink(loopLink); Tuple connection = new Tuple<>(node, node);