Re: [sumo-user] How to export the network as a graph

2018-03-11 Thread Reza Mortazavi
Thank you for your help. Do you have any web page or related weblog? On Sun, Mar 11, 2018 at 9:20 PM, Jakob Erdmann wrote: > Hello, > you can do this in 2 steps (first convert the network to the so-called > plain format, then convert this to csv): > 1) netconvert -s

Re: [sumo-user] TL Logic validation

2018-03-11 Thread Jakob Erdmann
Hello, netconvert returns basically two types of signal plans depending on the edge priority values at an intersection 1) streams in opposite directions at the same time, seprate phase for exclusive left turns 2) every incoming edge gets its own phase where all turning directions get the green

Re: [sumo-user] How to export the network as a graph

2018-03-11 Thread Jakob Erdmann
Hello, you can do this in 2 steps (first convert the network to the so-called plain format, then convert this to csv): 1) netconvert -s yournet.net.xml --plain-output-prefix plain 2) sumo/tools/xml/xml2csv.py plain.edg.xml regards, Jakob 2018-03-11 15:36 GMT+01:00 Reza Mortazavi

[sumo-user] How to export the network as a graph

2018-03-11 Thread Reza Mortazavi
How can I use SUMO (or netconvert) to export a *.net.xml file to an adjacency matrix of a graph (ex: *.csv format)? I want to plot it in Matlab as a weighted graph where the edge weights (i.e., the adjacency matrix entries) are their associated length or 0 if two nodes are not connected. My best

Re: [sumo-user] logging junctions

2018-03-11 Thread Reza Mortazavi
Thank you. It worked! On Sun, Mar 11, 2018 at 2:31 AM, Jakob Erdmann wrote: > Hello, > you could use either one of these: > - http://sumo.dlr.de/wiki/Simulation/Output/Instantaneous_Induction_Loops_ > Detectors > - http://sumo.dlr.de/wiki/Simulation/Output/VehRoutes