Skip to main content

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

To define bidirectional rails between nodes A and B define
<edge id="AB" from="A" to="B" spreadType="center" allow="rail"/>
<edge id="-AB" from="B" to="A" spreadType="center" allow="rail"/>

If your edges should have a curved shape than the shape points of both edges must be the exact reverse of each other (so that both edges are exactly on top of each other).

Alternatively, you define single edges and call netconvert with option  --railway.topology.all-bidi

regards,
Jakob


Am Do., 23. Jan. 2020 um 17:10 Uhr schrieb Issa, Joshua <Joshua.Issa@xxxxxxxxxxxxxx>:

I am working on a SUMO project that involves railways, and I was wondering if there was a way to generate bi-directional rails via xml.

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top