Re-creates shapes and calibration for routes features in a LRS Network.
Input the LRS Network whose routes feature needs to be regenerated based on the route shape definition from centerline feature class and the measure values definition from the calibration point feature class.
The ALRS Network for which route shapes will be regenerated.
Generate Routes example (Python window)
The following Python window script demonstrates how to use GenerateRoutes function in immediate mode.
# tool variables
# set current workspace
# execute the tool
Generate Routes Example (Stand-alone Python script)
The following Python script demonstrates how to use GenerateRoutes in a stand-alone Python script.
# Name: GenerateRoutes_PyWin.py
# Description: Re-creates shapes and calibration for routes features in a LRS Network
# Requirements: Esri Roads and Highways solution
# Import arcpy module
# Check out any necessary licenses
# Local variables
# input Network layer
in_network = "C:\\RoadsAndHighways\\Data\RH_DOT.gdb\\LRSN_County"
# Process: Generate Routes
This tool does not use any geoprocessing environments
- ArcGIS Desktop Basic: Requires Roads and Highways
- ArcGIS Desktop Standard: Requires Roads and Highways
- ArcGIS Desktop Advanced: Requires Roads and Highways