Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Edges with bi-directional lanes

Hello,

I am trying to create a network one junction at the center and four edges branching out from there in cardinal directions. But I need all these edges to have 2 lanes, each lane allowing the passage of vehicles in the opposite direction.

I have referred to https://sumo.dlr.de/docs/Networks/PlainXML.html#neighboring_opposite-direction_lanes and tried to do it myself but it seemingly creates a new EDGE that acts as the opposite-direction lane instead. 
Screenshot from 2021-02-11 18-44-28.png
You may notice the gaps between the edges that are supposed to be "neighbouring lanes". 

The closes image I found to what I am trying to achieve is as given:

ref img.jpg
Note how the blue and orange car are facing. Assuming the blue car travels straight upwards instead of right. Is it possible to get such a edge with two lanes(bidirectional)
--

Back to the top