stereopticon

Calculating Driving Distances - Many-to-One

Discussion created by stereopticon on Aug 8, 2011
Latest reply on Aug 19, 2011 by stereopticon
Hi everyone,

This question is a variation on a thread from a few days ago:
http://forums.arcgis.com/threads/30795-calculating-driving-distances

To calculate shortest route from an entire feature class of origin points to a single destination feature, would you:

a). Before adding locations execute a looping script that duplicates the destination feature once for each origin record, then adds a RouteName field and populates it with OIDs to pair destinations with origins;

b). write a looping script that adds the destination feature as a location once for each origin feature (not sure how the RouteName would be set to be different each time);

c). something much more simple and elegant than either a or b. :p

thanks,

Michael

Outcomes