Networks/Import/SUMO Road Networks

generated on 2018-10-19 00:15:55.463127 from the wiki page for Networks/Import/SUMO_Road_Networks for SUMO git

NETCONVERT allows a round-trip reimport of generated SUMO road networks. Use the option --sumo-net-file <FILE> for reading a SUMO road network, the shorter options --sumo-net <FILE> and --sumo <FILE> are synonymes. An example call:

netconvert --sumo mySUMOnet.net.xml -o mySUMOnet2.net.xml

Note that in this case, both the read network ("mySUMOnet.net.xml") and the generated one ("mySUMOnet2.net.xml") should be same besides the meta-information in the XML header.

Re-importing SUMO networks allows you to apply changes to on an existing road network using additional XML-files. An example would be patching the type of a node.

prepare a file like this: patch.nod.xml :

 <nodes>
    <node id="id_of_the_node_you_want_to_modify" type="right_before_left"/>
 <nodes>

and patch the network like this:

 netconvert --sumo-net-file your.net.xml --node-files patch.nod.xml -o yourpatched.net.xml

This page was last modified on 7 November 2014, at 09:38.