OD cost matrix

2735
7
Jump to solution
12-02-2015 06:09 PM
Highlighted
New Contributor

Wondering if there any way to set up  the OD Cost matrix layer to output costs for only  the paired set of origins  and destinations (the paired origin and destination have a 'Pair_ID'  field that have same value)   rather than the N x N (from each origin point to each destination point)

Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Esri Regular Contributor

If you want to specify pairs of origins and destinations and actually control which origin links to which destination, you can use the Route solver.  When you load Stops, map the Pair_ID field to the RouteName field.  This will ensure that a separate route is created for each pair.

View solution in original post

7 Replies
Highlighted
MVP Esteemed Contributor

There is a Destinations to Find option cited in the help file to limit the pairing OD cost matrix analysis—Help | ArcGIS for Desktop

Highlighted
New Contributor

That was good to know

Reply
0 Kudos
Highlighted
Esri Regular Contributor

If you want to specify pairs of origins and destinations and actually control which origin links to which destination, you can use the Route solver.  When you load Stops, map the Pair_ID field to the RouteName field.  This will ensure that a separate route is created for each pair.

View solution in original post

Highlighted
MVP Esteemed Contributor

Destinations to find

You can choose to generate a cost matrix from each origin to all destinations. Alternatively, you can limit the number of destinations to find per origin by entering a value for Destinations to find.

Individual origins can have their own values that override the Destinations to find property. Entering a non-null value in the TargetDestinationCount property of an origin overrides the default destinations to find.

Is this reference in my link a different access to the property Melinda?

Reply
0 Kudos
Highlighted
Esri Regular Contributor

Hi Dan.  The TargetDestinationCount property refers to the NUMBER of destinations to find for each origin, not the specific destination IDs.  With OD, you can control how many destinations to find, but you can't specify which ones.

Reply
0 Kudos
Highlighted
MVP Esteemed Contributor

Ok... good to know... thanks

Reply
0 Kudos
Highlighted
New Contributor

Thank you

Reply
0 Kudos