Thank you very much Harald. I added "--separator=','", and the output csv
file became in the correct format. I really appreciate your help.
-Reza
--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
___
sumo-user mailing list
sumo-user@ecli
Hi Reza,
it works for me (under Linux and with the latest development version).
The delimiter is a semicolon.
This is the output with schema:
==> tripinfo.csv <==
tripinfo_id;tripinfo_depart;tripinfo_departLane;tripinfo_departPos;tripinfo_departPosLat;tripinfo_departSpeed;tripinfo_departDelay
Thanks. I did accordingly and installed lxml. Now when I run the command
"python xml2csv.py tripinfo.xml --xsd=tripinfo.xsd --validation," it does
not show any error. However, the same problem still exists that all of the
attributes for a vehicle are in a single cell in the csv file. I would like
t
I think you must compile lxml or load a precompiled version, search in
the internet for "windows adding lxml to python"
Am 13.07.20 um 21:54 schrieb MohamadReza-Haghani:
Thank you very much. I moved their folder to another address with permission
to write and got the output. However, different
Thank you very much. I moved their folder to another address with permission
to write and got the output. However, different attributes were in a single
cell in the output csv file. Therefore, I added an schema
(https://github.com/eclipse/sumo/blob/master/data/xsd/fcd_file.xsd) in xsd
format to get
Hi,
it seems you have no writing permissions to the directory. Try to set an
explicit output file with -o in a directory where you can write.
Best regards,
Michael
Am 12.07.20 um 03:12 schrieb Reza:
> Hi,
>
> I am using the following command in cmd to export an xml file to csv format.
>
> pyth
Hi,
I am using the following command in cmd to export an xml file to csv format.
python xml2csv.py fcd.xml
My working directory is "C:\Program Files (x86)\Eclipse\Sumo\tools\xml." I
also put the "fcd.xml" file in this directory. I get the following message
and no csv output when running the cod
Hi,
I am using the following command in cmd to export an xml file to csv format.
python xml2csv.py fcd.xml
My working directory is "C:\Program Files (x86)\Eclipse\Sumo\tools\xml." I
also put the "fcd.xml" file in this directory. I get the following message
and no csv output when running the cod
Hello,
run the tool using it's full path:
python c:\\sumo\tools\xml\xml2csv.py
(or whatever the path on your operating system is)
regards,
Jakob
2017-10-20 14:56 GMT+02:00 Natalia Liora via sumo-user <
sumo-u...@lists.sourceforge.net>:
> Hello,
>
> I have downloaded the version 0.3 of sumo. I a
Hello,
I have downloaded the version 0.3 of sumo. I am trying to run the tool xml2csv
but I get the error: "python: can't open file 'xml2csv.py': [Errno 2] No such
file or directory”.
The tool, however, exists in the directory sumo/tools/xml/.
Thank you,
Natalia
--
10 matches
Mail list logo