I am interested in calculating road usage from a transportation process. Ideally I would end up with a table of origins, destinations and road segments used to travel between the two for each origin. I have a large number of origin and destination locations and have used the Closets Facility tool to calculate the routes between each origin to its nearest destination. Is there a way to get an output of road segments used for each route so I can aggregate the usage for each road segment? Is closest facility the best tool to use for this process?
I did something like this a while ago to gauge pedestrian flow throughout a network, but it was finding which individual segments of my total closest facility analysis contained all the different routes that traversed it. I'll explain my process below, and hopefully it will help you with yours.
Once I had my output feature class of all routes, I intersected it on itself. This split up each individual route into a series of segments and retained the original name of the route (the origin and the destination).
Then, in the resulting feature class, I created three fields (double), an X midpoint, a Y midpoint, and an X endpoint. I calculate each of these geometries, then concatenated them using Field calculator into one field. This created a unique ID for each segment, as there were many stacked on top of one another if multiple routes traversed a single segment.
Thank you both for your help. I tried the traverse tool but it still did not provide the segment names, perhaps I needed to play around with the tool a bit more.
I ended up solving the problem by using the closest facility tool followed by a spatial join of the route and road data. A spatial join (Target: road data, Join: Route, "within") gave me an attribute table with each road segment listed for each route.