Re-creates shapes and applies calibration changes for route features in an LRS Network.
Additionally, the tool can determine calibration changes on routes so event behaviors can be processed. These calibration changes can be due to adding, editing, or deleting calibration points outside the Location Referencing tools in ArcGIS Pro.
Input the LRS Network whose features need to be regenerated or need calibration changes applied based on the route shape from the centerline feature class, and measure values from the calibration point feature class.
If calibration points are deleted or have their date changed outside the ArcGIS Pipeline Referencing tools in ArcGIS Pro, and Generate Routes is executed with the Record calibration changes for event location updates option, any events within the area where the calibration point was deleted or had their date changed will have move event behavior instead of stay put.
If a derived network is configured against a line network, running Generate Routes on the line network will also update the derived network.
Routes in a derived network are generated by following line order for direction.
Only 2D calculations are applied when interpolating the measures on the routes being generated.
Parameter | Explanation |
---|---|
in_route_features |
The LRS Network for which route shapes will be regenerated and calibration changes will be applied. |
record_calibration_changes (Optional) |
|
GenerateRoutes example 1 (Python window)
Demonstrates how to use GenerateRoutes in immediate mode.
# Import arcpy module import arcpy # Local variables in_route_features = r'C:\Data\PipelineReferencing.gdb\LineNetwork' record_calibration_changes = "NO_RECORD_CALIBRATION_CHANGES" # Set current workspace arcpy.env.workspace = "C:/Data/PipelineReferencing.gdb" # Execute the tool arcpy.GenerateRoutes_locref(in_route_features, record_calibration_changes)
GenerateRoutes example 2 (stand-alone script)
Demonstrates how to use GenerateRoutes in a stand-alone Python script.
# Name: GenerateRoutes_ex2.py # Description: Recreates shapes and applies calibration changes for route features in a LRS Network. # Requirements: ArcGIS Pipeline Referencing # Import arcpy module import arcpy # Check out any necessary licenses arcpy.CheckOutExtension("LocationReferencing") # Local variables in_route_features = r'C:\Data\PipelineReferencing.gdb\LineNetwork' record_calibration_changes = "RECORD_CALIBRATION_CHANGES" # Execute the tool arcpy.GenerateRoutes_locref(in_route_features, record_calibration_changes)
There are no tags for this item.
There are no credits for this item.
There are no use limitations for this item.