[sumo-user] .xml to .net.xml

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[sumo-user] .xml to .net.xml

Cortlandt Montross
Hello all,

I'm new to SUMO and this user group so first off, hello, hope you are all doing well.

I'm working on a project that will use both SUMO and Synchro software as a microsimulation tool and a traffic signal optimization tool, respectively. For numerous reasons that aren't important, we've ran into a situation that will require us to move large amounts of Synchro simulation files into SUMO. For this, I've started writing a python script that will utilize the data reading capabilities of pandas to convert .csv Synchro files into .xml files to use in SUMO. For now I'm focusing simply on aspects of edge and junction geometry.

Now converting the .CSV data into the correct .xml formatting is simple process of data parsing, reorganizing, and for loops, however as far as I can tell SUMO is unable to read regular .xml files as a network file. Also, SUMO's netconvert tool doesn't seem to have any capabilities of converting regular .xml files into the .net.xml file, but again I'm new to SUMO so I could be wrong.

Synchro is a somewhat proprietary, paid software so I doubt anybody has had any similar experiences however I was wondering if anybody might know some work arounds to get SUMO to read the data I'm converting once it is in the.xml format. Any help would be greatly appreciated.

Thanks!

Cortlandt

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] .xml to .net.xml

Harald Schaefer-2

Hi Cortlandt,


one way is to create .nod.xml and .edg.xml files from your sources. Then you can use netconvert

See https://sumo.dlr.de/docs/Networks/PlainXML.html for a description.


Greetings, Harald


Am 17.09.20 um 06:11 schrieb Cortlandt Montross:
Hello all,

I'm new to SUMO and this user group so first off, hello, hope you are all doing well.

I'm working on a project that will use both SUMO and Synchro software as a microsimulation tool and a traffic signal optimization tool, respectively. For numerous reasons that aren't important, we've ran into a situation that will require us to move large amounts of Synchro simulation files into SUMO. For this, I've started writing a python script that will utilize the data reading capabilities of pandas to convert .csv Synchro files into .xml files to use in SUMO. For now I'm focusing simply on aspects of edge and junction geometry.

Now converting the .CSV data into the correct .xml formatting is simple process of data parsing, reorganizing, and for loops, however as far as I can tell SUMO is unable to read regular .xml files as a network file. Also, SUMO's netconvert tool doesn't seem to have any capabilities of converting regular .xml files into the .net.xml file, but again I'm new to SUMO so I could be wrong.

Synchro is a somewhat proprietary, paid software so I doubt anybody has had any similar experiences however I was wondering if anybody might know some work arounds to get SUMO to read the data I'm converting once it is in the.xml format. Any help would be greatly appreciated.

Thanks!

Cortlandt

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user