Tuesday, 12 March 2019

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


Using ArcGIS Desktop 10.2.1, I am trying to create a truck route that begins at one location on a county street grid and ends up in the same place, obeying a feature class of guard rail line segments throughout an entire county - we need the shortest possible.


I need to use these line segments as network locations. However, the only line-based NA objects that can be defined as network locations are line and polygon barriers. But I'm not trying to avoid each guardrail, just follow it.


I tried creating centroids and vertices from each segment to use as stops (on a single road as a test), but found out it sends me on this 1000 mile rat race to connect 3 points in a neighborhood road.


Is there a problem with how the tool is interacting with the LRS itself?


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...