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!


[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
  Livre de vĂ­rus. 
www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>.
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to