[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Problems with trip info output converting xml2csv
|
Did you compare two files ( between xml file and csv file)? I used to use it before. It works well.
1.You could double check your simulation model.
2. U should use the command line : python xml2csv tripdata.xml and then you can retrieve your information that you need from tripdata.csv file
Hi
I am trying to convert a trip files using xml2csv.py but the data is not importing correctly to the csv file. For example, some of the trip durations show up as 0 (when they are not) and the time loss variable shows up as a string eg. for trip ID 0 it is 'tripinfo_0
routing_0'. I do not get any of these errors when converting the edge data files, only with the trip files.
This is the command line code I run: python ../tools/xml/xml2csv.py --xsd ../data/xsd/tripinfo_file.xsd tripdata.xml
Thanks for your help!
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
--