Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Modifying network

Dear community,
I have a randomly generated road network saved as .net.xml. Each of the edges is a single lane in this network. And guessing of opposite direction lanes usable for overtaking is enabled. I want to convert all the edges to two lanes. Since it is not a small network (consisting of 212 edges), I do not wish to use NETEDIT GUI. Is there another way to do it? 
I tried inserting the second lane directly in the XML file (example given below), but this creates a problem with lane connections at junctions and with overtaking connections.
<lane id="1_1" index="1" speed="13.89" length="175.24" shape="501.60,310.40 501.60,485.64">
            <neigh lane="112_1"/>
</lane>
Kindly suggest a more suitable approach.
Any help is greatly appreciated.
Thanks and regards,
Rohan

Back to the top