Resumen
This tool calculates and reports the concurrent route segments within an LRS Network. These concurrencies are reported with the measures for each concurrent route segment and a time range in which the concurrency exists. The route dominance rules for the LRS Network can be used to determine the dominant route in each concurrent section.
Uso
The output feature class contains the following fields: NetworkID, RouteID, SectionID, FromMeasure, ToMeasure, FromDate, ToDate, DominantFlag, and DominantError.
Sintaxis
CalculateRouteConcurrencies_roads (in_network, out_table, {in_tvd}, {find_dominance})| Parámetro | Explicación | Tipo de datos |
in_network | The network containing the routes on which concurrencies will be calculated. | Feature Layer |
out_table | The table to be created, containing all the concurrent sections in the Source LRS Network. | Table |
in_tvd (Opcional) | The temporal view date for the network. | Date |
find_dominance (Opcional) | Indicates whether to use route dominance rules configured for in_network.
| Boolean |
Muestra de código
AppendEvents example 1 (Python window)
Demonstrates how to use the CalculateRouteConcurrencies tool in the Python window in ArcMap.
# tool variables
in_network = r"C:\Data\NY_Data.gdb\LRSN_MilePoint"
out_table = r"C:\Data\NY_Data.gdb\ConcurrenciesOutput"
in_tvd = ""
find_dominance = "FIND_DOMINANCE"
# set current workspace
arcpy.env.workspace = "C:/Data/NY_Data.gdb"
# execute the tool
arcpy.CalculateRouteConcurrencies_roads(in_network, out_table, in_tvd, find_dominance)
AppendEvents example 2 (stand-alone Python script)
Demonstrates how to use the CalculateRouteConcurrencies tool as a stand-alone Python script.
# Name: FindRouteConcurrencies.py
# Description: Identifies all the route concurrencies in a given network.
# Requires: Esri Roads and Highways Solution
# Import arcpy module
import arcpy
# Check out any necessary licenses
arcpy.CheckOutExtension("Highways")
# Local variables
network = r"C:\Data\NY_Data.gdb\LRSN_MilePoint"
output_table = r"C:\Data\NY_Data.gdb\Concurrencies_Output"
# Execute the tool
arcpy.CalculateRouteConcurrencies_roads(network, output_table, "", "FIND_DOMINANCE")
Entornos
Esta herramienta no utiliza ningún entorno de geoprocesamiento
Información de licencia
- ArcGIS for Desktop Basic: Requiere Roads and Highways
- ArcGIS for Desktop Standard: Requiere Roads and Highways
- ArcGIS for Desktop Advanced: Requiere Roads and Highways