travel time and distance

1915
4
Jump to solution
03-16-2014 11:04 AM
Highlighted
New Contributor
Hi I have a set of points and I'd like to find the round trip travel time and distance from them to a destination point along a network dataset of roads and highways which tool within network analyst would be best.  I was thinking shortest distance but then OD cost solver sounds like it might work as well...Thanks
Tags (2)
Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Esri Regular Contributor
Both tools can give you travel time and distance between a set of locations. You can solve on travel time attribute and accumulate a distance attribute at the same time. However neither will give you "round trip". That is, the route solver will solve A to B. It will not solve for A to B back to A. To do that you will have to add the start point again as the last point.

OD returns back a matrix so if you have 3 points, it will return back 9 shortest path distances.
Say your points are A, B and C. You will get:

A to A
A to B
A to C

B to A
B to B
B to C

C to A
C to B
C to C

in this way, if you need the round trip distance from A to B back to A, you can get the two columns A to B and B to A and sum them up.

The choice between the route and OD solvers will depend on how your input data is structured.

Jay Sandhu

View solution in original post

Reply
0 Kudos
4 Replies
Highlighted
Esri Regular Contributor
Both tools can give you travel time and distance between a set of locations. You can solve on travel time attribute and accumulate a distance attribute at the same time. However neither will give you "round trip". That is, the route solver will solve A to B. It will not solve for A to B back to A. To do that you will have to add the start point again as the last point.

OD returns back a matrix so if you have 3 points, it will return back 9 shortest path distances.
Say your points are A, B and C. You will get:

A to A
A to B
A to C

B to A
B to B
B to C

C to A
C to B
C to C

in this way, if you need the round trip distance from A to B back to A, you can get the two columns A to B and B to A and sum them up.

The choice between the route and OD solvers will depend on how your input data is structured.

Jay Sandhu

View solution in original post

Reply
0 Kudos
Highlighted
New Contributor
So I used the OD cost matrix and got the time in minutes it takes to get from my origin points (several hundred) to a destination, is there are way to calculate how many miles were traveled either through a minute conversion or somehow within GIS?
Reply
0 Kudos
Highlighted
Esri Regular Contributor
Dose your network dataset also have a length attribute in addition to the time one?
If yes, then you can bring up the OD layer properties and on the accumulation tab check the length attribute to accumulate.
Now when you solve it will solve on travel time and also accumulate the length and report it on the odlines table.

Jay Sandhu
Reply
0 Kudos
Highlighted
New Contributor
It's a national transportation/streets dataset.  So there is a length component, I'm assuming this is the distance for one way correct?
Reply
0 Kudos