Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Bi-directional Rails

Hello,
whether railways are bidirectional or not is defined in .edg.xml files (as explained at https://sumo.dlr.de/docs/Simulation/Railways.html#bidirectional_track_usage).
Of course, you can split your input across multiple .edg.xml files and use one for one-way tracks and another one for two-way tracks (the latter one needs to define both directions).
Alternatively, you can define all your edges in only one direction in the .edg.xml file(s) and then use option
--railway.topology.all-bidi.input-file to load a file with edge ids that shall be made bidirectional

regards,
Jakob

Am Do., 7. Mai 2020 um 19:54 Uhr schrieb Issa, Joshua <Joshua.Issa@xxxxxxxxxxxxxx>:

Hey all,

 

I am trying to generate a net file with two nod files. I am using it to generate bi-directional tracks, but I don’t want all of the tracks to be bi-directional (hence part of the reason for a second nod file). Is there a way to use netconvert to set bi-directional rails for one nod file and the not the other?

 

Thank you

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top