Thank you. It works.
From: sumo-user <sumo-user-bounces@xxxxxxxxxxx> On Behalf Of
Jakob Erdmann
Sent: Thursday, September 8, 2022 3:30 AM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Subject: Re: [sumo-user] OD matrix issues
Any one of the following will fix the problem on your end:
- change the 'end' time values to seconds (i.e. 3600)
Am Mi., 7. Sept. 2022 um 23:02 Uhr schrieb Liu, Hao <hliu@xxxxxxx>:
Thanks, Jakob. I updated the version but got the new error message “Error: invalid character encountered In file 'mp.od' At line/column 3/46.”. I used the tazRelations file copied
from SUMO website with modified taz ids. I am attaching both the taz file and mp.od here. Thank you for your help.
Sincerely,
Hao
Am Mi., 7. Sept. 2022 um 05:16 Uhr schrieb Liu, Hao <hliu@xxxxxxx>:
Hi Jakob,
Thank you very much for your help. For my first question, I changed the option to --tazrelation-files, but I got the error message “Error: On processing option '--tazrelation-files=mp.od':
No option with the name 'tazrelation-files' exists. Error: Could not parse commandline options. Quitting (on error).” Do you know the reason of this error? The command I used is od2trips --taz-files=mp.taz.xml --tazrelation-files=mp.od --output-file=mp.odtrips.xml.
Thanks for your time.
Best,
Hao
1. use option --tazrelation-files rather than option --od-matrix-files for loading the tazRelations
2. no. The O-format only supports a single time slice per file. In contrast, the tazRelation format supports multiple intervals.
Am Di., 6. Sept. 2022 um 19:18 Uhr schrieb Liu, Hao <hliu@xxxxxxx>:
Hi All,
I am trying to use OD matrix to generate trips and routes in SUMO. I have two questions:
-
I firstly used the tazRelation format for the OD matrix. When I ran od2trips, I got the error message “'mp.od' uses an unknown matrix type '<data xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/datamode_file.xsd">'.
I am attaching my taz file, od file here.
-
I tried the O-format file, and it works. My question is that is it able to define multiple OD matrices for multiple time intervals in a single O-format file?
I very much appreciate your help in advance!
Best,
Hao
_______________________________________________
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
|