I have made a Multimodal network analysis consisting of Maritime_Routes, World_Railroads, and World_roads as a mode of transportation.
I have applied the OD cost matrix and that works fine. I have to find out how many countries the route between the two cities is passing.
I have applied the OD cost matrix, calculates the distance and draw a straight line, rather than the ACTUAL ROUTE.
Thanks
Although the OD Cost Matrix tool shows straight lines connecting origins and destinations, the it calculates the network distance or travel time and reports those values in the output table. The straight lines are intended only for visualization, like a spider diagram.
If you need to use the output of a network analysis to determine which countries the route goes through, you cannot use the OD Cost Matrix tool. OD Cost Matrix only reports the travel time or distance and not the actual route.
You should instead use either the Route solver or the Closest Facility solver, depending on the way your problem is set up.
Can I apply the Route solver or the Closest Facility solver on the same Network data set? or if I have to set up a new network data set.
Yes, all of the Network Analyst solvers can work with the same network dataset.
I have tried but Closest Facility solver is not working. I need the distance from each origin to eash the destination.
Did you get an error message? An incorrect result? If you give me some details, I might be able to help.
No error message.
I need the distance(and actual shapefile) from each origin to the destination city. whereas in only pairs origin city with only one destination city. whereas I need to pair each origin city with each destination city.
You can set the number of facilities to find to some number >= the number of cities you have. Then you will get a route from each city to each other city.
How please
where I can find or set this option.