Generate Calibration Points (Location Referencing)

Location Referencing ライセンスで利用可能です。

サマリー

Generates calibration points for any route shape provided, including complex shapes such as self-closing, self-intersecting, and branched routes.

使用法

  • An LRS dataset is required to run this tool. To create an LRS dataset, add the calibration point, centerline, and redline layers to a feature dataset; then run the Modify LRS tool with the geodatabase as the input.

  • Input Polyline Features are the basis for the calibration points that will be generated.

  • Calibration Point Feature Class must be registered with the LRS.

  • LRS Network must be registered with the LRS.

  • Derived LRS Networks are not supported as the LRS Network.

  • Z-values are considered when calculating the geometric length of the centerlines.

  • Gap calibration rules are followed when generating calibration points.

    Learn more about calibrating routes with physical gaps in ArcGIS Roads and Highways or calibrating routes with physical gaps in ArcGIS Pipeline Referencing.

パラメーター

ラベル説明データ タイプ
Input Polyline Features

The features that will be used as the source to calculate the measure values for calibration points.

Feature Layer
Route ID Field

The field containing values that uniquely identify each route. The field type must match the Route ID field in the calibration point feature class.

Field
From Date Field

The field containing the From Date values of a route.

Field
To Date Field

The field containing the To Date values of a route.

Field
Calibration Point Feature Class

The existing calibration point feature class to which new features will be added.

Feature Layer
LRS Network

The LRS Network for which the measure values will be generated in the calibration points feature class.

String
Calibration Direction
(オプション)

Specifies the direction of increasing calibration on a route when creating new calibration points.

  • Digitized directionThe direction of digitization of the Input Polyline Features determines the direction of calibration for the route. This is the default.
  • Measure directionThe direction of increasing m-values of the Input Polyline Features determines the direction of calibration for the route. If Input Polyline Features does not include m-values, the digitized direction will be used instead.
String
Calibration Method
(オプション)

The method used to determine the measures on a route when creating calibration points.

  • Geometry lengthOnly geometry length is supported as the calibration method.
String

派生した出力

ラベル説明データ タイプ
Updated Calibration Point Feature Class

The updated calibration features.

Feature Layer
Output Details File

A text file that details changes made by the tool.

Text File

arcpy.locref.GenerateCalibrationPoints(in_polyline_features, route_id_field, from_date_field, to_date_field, in_calibration_point_feature_class, lrs_network, {calibration_direction}, {calibration_method})
名前説明データ タイプ
in_polyline_features

The features that will be used as the source to calculate the measure values for calibration points.

Feature Layer
route_id_field

The field containing values that uniquely identify each route. The field type must match the Route ID field in the calibration point feature class.

Field
from_date_field

The field containing the From Date values of a route.

Field
to_date_field

The field containing the To Date values of a route.

Field
in_calibration_point_feature_class

The existing calibration point feature class to which new features will be added.

Feature Layer
lrs_network

The LRS Network for which the measure values will be generated in the calibration points feature class.

String
calibration_direction
(オプション)

Specifies the direction of increasing calibration on a route when creating new calibration points.

  • DIGITIZED_DIRECTIONThe direction of digitization of the Input Polyline Features determines the direction of calibration for the route. This is the default.
  • MEASURE_DIRECTIONThe direction of increasing m-values of the Input Polyline Features determines the direction of calibration for the route. If Input Polyline Features does not include m-values, the digitized direction will be used instead.
String
calibration_method
(オプション)

The method used to determine the measures on a route when creating calibration points.

  • GEOMETRY_LENGTHOnly geometry length is supported as the calibration method.
String

派生した出力

名前説明データ タイプ
out_calibration_point_feature_class

The updated calibration features.

Feature Layer
out_details_file

A text file that details changes made by the tool.

Text File

コードのサンプル

GenerateCalibrationPoints example 1 (Python window)

The following Python window script demonstrates how to use the GenerateCalibrationPoints function in the Python window.

# Name: GenerateCalibrationPoints.py
# Description: Build calibration point features when an LRS already exists in the geodatabase.
# Requires: ArcGIS Location Referencing

# Check out license
arcpy.CheckOutExtension("LocationReferencing")

# Tool variables:
in_polyline_features = "SourceRoutes"
route_id_field = "RouteID"
from_date_field = "FromDate"
to_date_field = "ToDate"
in_calibration_point_feature_class = "Calibration_Point"
lrs_network = "NonLineNetwork"

# Set current workspace
arcpy.env.workspace = r"C:\Data\UPDM.gdb"

# Execute Generate Calibration Points
arcpy.GenerateCalibrationPoints_locref(in_polyline_features, route_id_field, from_date_field, to_date_field, in_calibration_point_feature_class, lrs_network, 'MEASURE_DIRECTION', 'GEOMETRY_LENGTH')

# Check in license
arcpy.CheckInExtension('LocationReferencing')
GenerateCalibrationPoints example 2 (stand-alone script)

The following stand-alone script demonstrates how to use the GenerateCalibrationPoints function.

# Name: GenerateCalibrationPoints.py
# Description: Build calibration point features when an LRS already exists in the geodatabase.
# Requires: ArcGIS Location Referencing

# Import arcpy module
import arcpy

# Check out license
arcpy.CheckOutExtension("LocationReferencing")

# Local variables:
SourceRoutes = r"C:\Data\SourceData.gdb\LRS\SourceRoutes"
RouteID = "RouteID"
FromDate = "FromDate"
ToDate = "ToDate"
CalibrationPoint = r"C:\\Data\UPDM.gdb\LRS\Calibration_Point"
Network = "EngineeringNetwork"

# Process: Generate Calibration Points
arcpy.GenerateCalibrationPoints_locref(SourceRoutes, RouteID, FromDate, ToDate, CalibrationPoint, Network, 'MEASURE_DIRECTION', 'GEOMETRY_LENGTH')

# Check in license
arcpy.CheckInExtension('LocationReferencing')

環境

特殊なケース

並列処理ファクター

The default value for this environment, if left blank, is 100%. Any absolute value for the environment is always clamped between 0 and the number of logical cores in that machine.

ライセンス情報

  • Basic: 次のものが必要 ArcGIS Location Referencing
  • Standard: 次のものが必要 ArcGIS Location Referencing
  • Advanced: 次のものが必要 ArcGIS Location Referencing

関連トピック