Sunday 4 June 2017

arcgis desktop - Creating shortest route using line-segment layer as network locations?


I'm currently using Arc10.2.1 and new to the network analyst tool. I'm trying to create a truck route that begins at one location on a county street grid and ends up in the same place, following a feature class of line segments of guard rails throughout the whole county - we need to create the most efficient path possible.


I understand the concept of network analysis objects and network attributes, but need to use these line segments as such. However, the only line-based network analysis objects that can be defined as network locations are line and polygon barriers. I was successful in using my guardrail feature class to create the shortest route that avoids each guardrail, but not one that follows it. When I attempt to use the segments as "stop" input features it tells me that it is an incorrect input.


I thought of creating centroids from each segment to use as stops, but that provides little information for the truck drivers to know exactly where along the roadway the guardrails are located.


This seems like it would be a common problem, yet I haven't been able to find anything on it.





No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...