Vehicle 'xx' is not allowed to depart on edge 'xxxxxxxxxxxxxxxx' [message #1844692] |
Wed, 22 September 2021 03:12 |
Amanda Romano Messages: 1 Registered: September 2021 |
Junior Member |
|
|
Dear All,
I am trying to generate the routes file, using the duarouter command. But the error is appearing:
Vehicle 'xx' is not allowed to depart on edge 'xxxxxxxxxxxxxxxx'
The vehicle 'xx' has no valid route
The step by step of what I did:
0 - extract the network from openstreetmap (osm file - map.osm)
I made the file with the data from the O/D matrix (OD_file.od)
od2trips.config.xml
duarcfg_file.trips2routes.duarcfg
config_file.sumocfg
1) Using netconvert, I converted the osm file to net.xml
netconvert --osm-files map.osm -o map.net.xml
2) Using Polyconvert, I converted the shapefile to a polygon file:
polyconvert --net-file map.net.xml --shapefile-prefixes SHPFILE --shapefile.id-column ID --shapefile.add-param true --shapefile.fill false --
shapefile.traditional-axis-mapping true -o SHPFILE.poly.xml --type taz
3) I converted the polygon file to TAZ file (districts.taz.xml):
python edgesInDistricts.py -n map.net.xml -t SHPFILE.poly.xml
4)Using od2trips, I created the trips:
od2trips -c od2trips.config.xml -n districts.taz.xml -d OD_file.od -o od_file.odtrips.xml
5)And using duarouter, I wanted to create the routes:
duarouter -c duarcfg_file.trips2routes.duarcfg
Could someone please help me why I can't generate the routes? How to solve this error:
Vehicle 'xx' is not allowed to depart on edge 'xxxxxxxxxxxxxxxx'
The vehicle 'xx' has no valid route
I can make all files available on the drive if necessary.
Thank you!
|
|
|
Powered by
FUDForum. Page generated in 0.04115 seconds