The TestData\three_arm.otsn was created to demonstrate this problem.
Analysis of the problem:
The problematic Link is Link "_6665_6667_1". It contains the Lane labeled 11 (the number is partly obscured by the label of Lane 9). This link connects Node 6665 to Node 6667. The design line of this Link consists of the intermediateVertices of the Link with the fromNode prepended and the toNode appended. This design line contains two very sharp corners. This causes the generated the design line to be bogus as well. This results in a really weird polyline when the CrossSectionElement is painted.
Some autogenerated Links need intermediateVertices to create nice curves. Simply making the intermediateVertices empty is not the solution.
The TestData\three_arm.otsn was created to demonstrate this problem.
Analysis of the problem:
The problematic Link is Link "_6665_6667_1". It contains the Lane labeled 11 (the number is partly obscured by the label of Lane 9). This link connects Node 6665 to Node 6667. The design line of this Link consists of the intermediateVertices of the Link with the fromNode prepended and the toNode appended. This design line contains two very sharp corners. This causes the generated the design line to be bogus as well. This results in a really weird polyline when the CrossSectionElement is painted.
Some autogenerated Links need intermediateVertices to create nice curves. Simply making the intermediateVertices empty is not the solution.