Skip to content

Commit

Permalink
fixed writing of invalid network on intersecting left turns where the…
Browse files Browse the repository at this point in the history
… foe left turn does not have an internal junction. refs #4252
  • Loading branch information
namdre committed Jul 25, 2018
1 parent f9aea9d commit ff12051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netwrite/NWWriter_SUMO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ NWWriter_SUMO::writeInternalNodes(OutputDevice& into, const NBNode& n) {
std::vector<std::string> foeIDs;
for (std::string incLane : (*k).foeIncomingLanes) {
incLanes += " " + incLane;
if (incLane[0] == ':') {
if (incLane[0] == ':' && viaIDs[incLane] != "") {
// intersecting left turns
foeIDs.push_back(viaIDs[incLane] + "_0");
}
Expand Down

0 comments on commit ff12051

Please sign in to comment.