Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Proposals » Eclipse Sumo » Vehicle 'xx' is not allowed to depart on edge 'xxxxxxxxxxxxxxxx'
Vehicle 'xx' is not allowed to depart on edge 'xxxxxxxxxxxxxxxx' [message #1844692] Wed, 22 September 2021 03:12
Amanda Romano is currently offline Amanda RomanoFriend
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)

1) Using netconvert, I converted the osm file to net.xml
netconvert --osm-files map.osm -o

2) Using Polyconvert, I converted the shapefile to a polygon file:
polyconvert --net-file --shapefile-prefixes SHPFILE 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 -n -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!

Previous Topic:FatalTraCIError Using traci.lane.getLastStepMeanSpeed
Next Topic:SUMO Crashes after multiple runs
Goto Forum:

Current Time: Sun Mar 03 12:50:11 GMT 2024

Powered by FUDForum. Page generated in 0.02068 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top