Hi,
I'm working on a project where I had to import a road network from osm with different levels of detail (more detailed roads in the study area (residential), less detailed in the external area, just motorways). I have an O-D matrix which I have to use to generate routes on this network and run an assignment model.
what I've done so far is:
1- import different pieces of osm road network and stitch them together using netconvert
2- run netcheck to identify disconnections, the main component covers 99.6%. The other components were then filtered out and now the network contains only the edges from the main component. to double check, netcheck was run again and the result is only one component which covers 100% of the net.
3- used edgesInDistrict to map edges to zones, the result is a taz file (without taz sourcesĀ and taz sinks, it's a very large net and it wasn't possible to assign them manually)
4- run od2trips to generate trip file based on the O-D taz relation file
now the final step, running the assignment using duaIterate, fails at the routing step which returns a list of errors similar to the following one:
Error: Mandatory edge '118214719' not reachable by vehicle '5944168'.
Error: The vehicle '5944168' has no valid route.
Error: No connection between edge '23105477' and edge '19248400' found.
I also tried running duarouter with the --repair flag but it also failed. I thought that running netcheck and filtering out the disconnected edges will result in a fully connected net.
Is there a way to run od2trips such that it makes sure that the assigned origins and destinations are connected? or is there something wrong with the steps mentioned above? I'd appreciate any help to fix this problem.
Thanks