Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Issue with xml2csv in cmd

Thanks Jakob and Harald!
My issue was resolved when I set up a default program to open the XML and Python files.
For my use, I need to post-process output files and save them as CSV so Netedit would probably not work but that is an interesting feature. Could you share any documentation that guides on how to call xml2csv from within Netedit? 

On Wed, May 10, 2023 at 3:35 AM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
Note, that you can call xml2csv from within netedit since version 1.17.0

Am Mi., 10. Mai 2023 um 07:07 Uhr schrieb Harald Schaefer <fechsaer@xxxxxxxxx>:

Hi Soumya

please see https://sumo.dlr.de/docs/Tools/index.html#how_to_use_python_tools in the SUMO documentation


Am 09.05.23 um 15:44 schrieb Soumya Sharma via sumo-user:
Hi,
I am trying to use the xml2csv.py file to convert XML output files to CSV using Command Prompt on my Windows machine. However, the command line just opens the xml2csv file in Notepad instead of converting the file. 

Here is what I tried to do:
1. Changed my directory:
C:\Users\Soumya>cd /D "G:\Shared drives\NCDOT_AV_Project\Task 4- Freight-Related Impact\SUMO Analysis\Basic\10% Trucks\1500 vphpl\0TAV_10TT_90TV\Run1"

2. Tried to convert using xml2csv 
G:\Shared drives\NCDOT_AV_Project\Task 4- Freight-Related Impact\SUMO Analysis\Basic\10% Trucks\1500 vphpl\0TAV_10TT_90TV\Run1>xml2csv.py 0TAV_10TT_90TV.xml 0TAV_10TT_90TV.csv

What am I doing wrong? Please help, thanks in advance!

Soumya.

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user


--
Thank you,
Soumya Sharma


Back to the top