Update Intersection Points (Roads and Highways)

Lizenzstufe:BasicStandardAdvanced

Zusammenfassung

Helps generate and update LRS intersection point features.

Verwendung

Syntax

UpdateIntersectionPoints_roads (in_intersection_layer, {in_start_time})
ParameterErläuterungDatentyp
in_intersection_layer

The LRS intersection feature class that needs to be updated.

Feature Layer
in_start_time
(optional)

The intersections will be updated from this time to present.

Date

Codebeispiel

UpdateIntersectionPoints example 1 (Python window)

The following Python window script demonstrates how to use the UpdateIntersectionPoints tool in ArcMap.

# tool variables
in_intersection_layer="route_intersections"
in_start_time="01/01/2012 02:10:32 AM"

# set current workspace
arcpy.env.workspace="C:/data/Outputs.gdb"

# execute the tool
UpdateIntersectionPoints_roads(in_intersection_layer, {in_start_time})
UpdateIntersectionPoints example 2 (stand-alone script)

The following Python window script demonstrates how to use the UpdateIntersectionPoints tool in a stand-alone Python script.

# Name: UpdateIntersections_PyWin.py
# Description: Updates LRS intersection points
# Requirements: Esri Roads and Highways solution

# Import arcpy module
import arcpy

# Check out any necessary licenses
arcpy.CheckOutExtension("Highways")

# Local variables
# input LRS intersection layer
in_intersection_layer = "C:/RoadsAndHighways/Data/NY_data.gdb/LRSI_Routes_n_Counties"

# time to update the intersections, from to present
in_start_time = "02/01/2013 02:10:32 AM"

# Process: Update Intersection Points
arcpy.UpdateIntersectionPoints_roads(in_intersection_layer, in_start_time )

Umgebung

Dieses Werkzeug verwendet keine Geoverarbeitungsumgebungen.

Verwandte Themen

Lizenzierungsinformationen

ArcGIS for Desktop Basic: Erfordert Roads and Highways
ArcGIS for Desktop Standard: Erfordert Roads and Highways
ArcGIS for Desktop Advanced: Erfordert Roads and Highways
4/26/2014