You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to rewrite createSymSideLanes(). There are two consecutive SymLanes at 794 and 795 in the original sections, because these sections change their categories there. Since intersections are processed one by one, to avoid modifying an iterable during the iteration, two Streets are created, each with one SymLane, both containing the Section with the id 398. Additionally, but I do not yet know if this has any influence, the ways change their direction at 795.
It is impossible to create a Street with sections running in different directions. Therefore, the intersection 795 can't be transformed into a SymLane and be integrated into a Street. Can the GN algorithm handle an intersection with only two streets of different widths? If so, we could even think about doing without SymLanes.
I have rewritten createSymSideLanes(), so that it can handle multiple consecutive SymLanes or SideLanes. The case of changing directions of the streets is detected and for now, an Intersection is created instead of a SymLane.
EDIT: There was a bug in this code. The fix is recommitted.
File berlin_karl_marx_allee.osm.
The text was updated successfully, but these errors were encountered: