You can put the id of the opposite-direction lane into the 'opposite'
field. This only works for "innermost" pair of lanes (those with the
highest lane index of both directional edges).
It's recommended to let netconvert option --opposites.guess do this job,
though.

Am Fr., 4. Feb. 2022 um 12:47 Uhr schrieb Ifezue Obiako <
vincentobi...@gmail.com>:

> Thanks Jakob, but where can I adjust the lane attribute 'opposite' in
> netedit?
>
> I see where you can view the lane attribute 'opposite' as a parameter
> (i.e., show parameters when I left click the lane), but I can't edit or
> adjust it.
>
> On Thu, Feb 3, 2022, 4:04 PM Jakob Erdmann <namdre.s...@gmail.com> wrote:
>
>> Never modify a .net.xml file directly.
>> To support opposite direction driving in a network, run:
>> netconvert -s old.net.xml --opposites.guess -o new.net.xml
>> You can also set lane attribute 'opposite' in netedit.
>>
>> Am Do., 3. Feb. 2022 um 14:26 Uhr schrieb Ifezue Obiako <
>> vincentobi...@gmail.com>:
>>
>>> Would the line of code for opposite lane driving look something like
>>> what is depicted below if it were implemented in a .net file?
>>>
>>> [image: image.png]
>>>
>>> On Thu, Feb 3, 2022 at 6:03 AM Ifezue Obiako <vincentobi...@gmail.com>
>>> wrote:
>>>
>>>> Hello Everyone
>>>>
>>>> I currently have a .net file that I am thinking about adding overtaking
>>>> behavior. The idea is when one bus comes from behind another bus on a
>>>> different bus route but at the same stop I would like the bus behind to
>>>> overtake the other if the other bus is taking too long. Is there a way for
>>>> the bus behind to overtake the leading bus (i.e., teleporting ahead of the
>>>> leading bus)?
>>>>
>>>> I have looked at the documentation on opposite-direction driving, but
>>>> it seems like you can only explicitly call "neigh" in an .edge.xml file
>>>> rather than a .net file. The reason why I asked if it is possible to do
>>>> this in a .net file is because I already have a functioning .net file
>>>> established and I would like to edit it from there.
>>>>
>>>> For reference, my .net and additional files are attached to this email.
>>>> The place I was trying to add overtaking is at lane -467228692#3_1, where
>>>> the lane 467228692#3_1 is used to overtake at the bus stop.
>>>>
>>>> Thank you in advance for your help
>>>> Ifezue
>>>>
>>> _______________________________________________
>>> 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
>>
> _______________________________________________
> 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

Reply via email to