I am using the route analysis layer to solve a set of points representing multiple stops for multiple routes. As expected, it generated the routes linking all of the stops. Is there a way to determine the drive distance and time for each individual segment along each route?
Solved! Go to Solution.
Yes! After solving the route layer, use the Copy Traversed Source Features tool.
Yes! After solving the route layer, use the Copy Traversed Source Features tool.
Thanks, @MelindaMorang! Rather than every segment time and distance, can I use the tool to find time and distance for all edges between my stops? The output of Copy Traversed Source Features calculated edge data for every junction but there isn't a way for me to determine if these edges are part of my route to my 1st, 2nd, or 3rd etc stop.
I think you can achieve this with some joins and post-processing.
The FromJunctionID and ToJunctionID fields in Edges refer to the ObjectID values in Junctions. The Junctions output's SourceType field will be NA_CLASS for stops and NETWORK for intermediate junctions that are part of the network. If you join these two tables, you can figure out which edges started or ended at a stop instead of a regular junction, and you can sum or otherwise combine the intermediate rows.
Great! Thank you so much. This is really helpful.