Dear SUMO-community, I am trying to convert Vissim files to SUMO because my city provides me with the real-world tls-data used and generated by their traffic PC. In order to convert the net I used netconvert just as described in the wiki (https://sumo.dlr.de/wiki/Tools/Import/VISSIM).
Therefore the command for my given example (see attachment or https://uni-paderborn.sciebo.de/s/485khKS1dKnxps2) is: "C:\Program Files (x86)\Eclipse\Sumo\bin\netconvert.exe" --vissim-file=SIM_K513V13.inpx --output-file=SUMO.net.xml The output was: Warning: Could not set connection between '5_1' and '4_0'. Warning: 1 of 8 connections could not be assigned. Success. That works pretty well since there is just 1 connection which is not transferred (I think due to conflicts) and can be added manually. My aim is to import especially the tls-data, so I tried to use the additional python script tls_vissimXML2SUMO.py respectively tls_vissimXML2SUMOnet_update.py. The command is: "C:\Program Files (x86)\Eclipse\Sumo\tools\import\vissim\tls_vissimXML2SUMOnet_update.py" -V SIM_K513V13.inpx -S SUMO.net.xml -o SUMO_TLS With the following output: Namespace(SUMO_net='SUMO.net.xml', output_file='SUMO_TLS', vissim_input='SIM_K513V13.inpx') --- * loading VISSIM net: SIM_K513V13.inpx --- * loading SUMO net: SUMO.net.xml Traceback (most recent call last): File "C:\Program Files (x86)\Eclipse\Sumo\tools\import\vissim\tls_vissimXML2SUMOnet_update.py", line 557, in <module> conn_link_d) File "C:\Program Files (x86)\Eclipse\Sumo\tools\import\vissim\tls_vissimXML2SUMOnet_update.py", line 294, in get_sg_connection_data conn_link_d[link] if conn[-1] == lane])] KeyError: u'10007' I think that this error is caused by the connection conflict I mentioned before. Do you know how to fix this effectively? Another related question is if there is a tool to visualize the signal program of tlss just as in the wiki (bars and signal times)? In Vissim I found the feature, but I haven't seen anything like that in netedit or SUMO. This would simplify the manual conversion if the script-based conversion isn't applicable. Thanks and cheers, Kevin _____________________________________ M. Sc. Kevin Malena Regelungstechnik und Mechatronik Heinz Nixdorf Institut Universität Paderborn Fürstenallee 11 33102 Paderborn Telefon: +49 (0) 52 51 / 60 6278 Raum: F0.337 Internet: http://www.hni.uni-paderborn.de/rtm _____________________________________
<<attachment: example_Vissim.zip>>
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
