eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.56k stars 1.43k forks source link

strange intersecting left turns warning #5779

Open behrisch opened 5 years ago

behrisch commented 5 years ago

in the attached network there are two pairs of overlapping edges (from the center to the right and back, gneE1 and gneE4). When saving the network the following warning occurs:

Warning: Intersecting left turns at junction 'cluster_gneJ1_gneJ3_gneJ6_gneJ8' from lane 'gneE4_1' and lane 'gneE2_1'. (increase junction radius to avoid this)

There are two problems with this warning:

  1. It refers to the wrong lanes. The overlapping turns are the ones from gneE2_1 to -gneE4_1 and from gneE2_1 to -gneE1_1
  2. No increased junction radius will help here.
namdre commented 5 years ago

The warning is only intended for left turns that are the opposite of each other (a case that often allows simultaneous driving) and this case can often be solved with a larger junction radius. Netconvert gets confused by the additional edges and assumes (from the somewhat arbitrary ordering) that gneE2 and gneE4 are opposites because there is an incoming edge in between them (gneE1)

I don't think it's worth to fix the warning message for such a strange input. Maybe an additional warning regarding duplicate edges would be useful, though.