Roadway Distance to a SPECIFIC location

552
4
10-10-2013 12:13 PM
Highlighted
New Contributor
Hi,

I need to find the roadway distance to a specific location (not closest) for a large number of lat/longs (example: child's home to their school (not nearest school). So it's basically a one-to-one match up. I have lat/longs for both. Any thoughts on how to do this? Would the closest facility somehow work? Thank you in advance!

Lindsey
Tags (2)
Reply
0 Kudos
4 Replies
Highlighted
MVP Esteemed Contributor
Reply
0 Kudos
Highlighted
New Contributor
Thank you! Should I use the Closest Facility Tool? How do I set it up so it calculates a one-to-one roadway distance as opposed to it taking Point A and finding whichever point in the second dataset is the closest? Does this make sense?
Reply
0 Kudos
Highlighted
Esri Regular Contributor
There are a couple of ways to do this:
1. Use closest facility solver. Select all the students that go to the same school. Load these student locations as Incidents and that one school as the facility and now solve for 1 closest. This will give you the path/distance for that set. Repeat for the next school.

2. Use the route solver. You have to set up your data such that each student and their school is a pair of points you will load into the route solver with a common ROUTENAME id. In this way you can load all students and their school as start/end pairs and solving this will give you distances for each point pair. You can search the forums for ROUTENAME and see more on how to set that up.

Jay Sandhu
Reply
0 Kudos
Highlighted
New Contributor
That worked perfectly - thank you!
Reply
0 Kudos