For a 4-arm intersection with cars travelling in each of the cardinal
direciton you need 8 edges. See
https://sumo.dlr.de/docs/Tutorials/quick_start.html

Am Do., 11. Feb. 2021 um 21:57 Uhr schrieb Hriday Sanghvi <[email protected]>:

> Hello Lara,
>
> Thank you for the reply. So what is implied is that creating an edge with
> 2 lanes, but each lane having vehicles travelling in the opposite
> direction, isn't possible unless the lane is of a specific type?
>
> Thank you.
>
> Sincerely,
> Hriday.
>
> On Thu 11 Feb 2021, 20:53 Lara Codeca, <[email protected]> wrote:
>
>> 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 <[email protected]> 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
>>> [email protected]
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to