[GIS] Different results in OD Cost Matrix analysis and Route analysis

arcgis-desktopnetwork-analystrouting

I am using OD Cost Matrix layer in order to find distances between many origins and destinations points. It works fine, but I want to make sure the results make sense, and since OD Cost Matrix can only produce straight lines (and not true route shapes), I tried to calculate some specific origin-destination pairs using a Network Analyst regular Route layer and compare them to the OD Cost Matrix results.

However, in some of the cases the distances seem to be different between the two methods, even when I use the exact same analysis settings and network restrictions. Sometimes it's only a small gap, but in other cases it's probably a whole different route.

Shouldn't the two tools produce the exact same routes?

Best Answer

So here are the code and summary of the aforementioned bugs, as requested by @Chris W. Basically they seem to refer to the same issue and to have the same cause, i.e. a problem with the OD cost algorithm.

  • NIM094092 - The OD cost matrix analysis in ArcMap returns different travel time results for one origin if another origin is present.
  • NIM060948 - Time and length returned from solving OD Cost Matrix problem varies between the same origin and destination depending on the number and location of input origin points.
  • BUG-000084762 - When solving an OD Cost Matrix for a large network dataset using Hierarchy, erroneous results are returned in a small number of combinations where the route connecting an Origin and a Destination is of a longer duration than any other route from the same Origin and Destination that diverts through a third location.

They've been found between versions 10.0 and 10.2.2 and are all assigned.

As I commented before, an alternative could be to use Closest facility analysis (in an automated process) to get a similar output and see if the results are more reliable. I suppose the feasibility of this depends largely of the number of origin and destination points.

Related Question