Hi Hriday, the link you sent ( https://sumo.dlr.de/docs/Networks/PlainXML.html#neighboring_opposite-direction_lanes) is used to allow drifting on the opposite lane, not to build a lane in the opposite direction. In SUMO, edges are directional. You can see it in their definition, from node to node, and that gives the direction. There are only a few specific lanes that are bidirectional, like railways, for example.
Regards, Lara On Thu, Feb 11, 2021 at 6:49 PM Hriday Sanghvi <sangh...@tcd.ie> wrote: > 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. > [image: 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: > > [image: 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) > -- > Hriday > https://www.linkedin.com/in/hriday-sanghvi/ > _______________________________________________ > sumo-user mailing list > sumo-user@eclipse.org > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user