适用于 Location Referencing 许可。
A linear referencing system (LRS) extends the geodatabase to provide additional capabilities for linear referencing, including support for multiple linear referencing methods (LRMs), event location management, and a time-aware LRS.
You can create an LRS with a feature dataset that contains centerline, calibration points, and redline feature classes; create an LRS from an existing dataset, or modify an existing LRS using geoprocessing tools.
See the LRS data model to learn about the data elements used in the LRS.
Create an LRS
You can use the Create LRS geoprocessing tool to create an LRS using the minimum schema. The minimum schema items created are the centerline, calibration point, and redline feature classes and the centerline sequence table. The names for the LRS, centerline, calibration point, and redline feature classes and the centerline sequence table should not already exist in the geodatabase.
- In ArcGIS Pro, open the Create LRS geoprocessing tool.
- Click the Browse button next to Input Location and browse to the geodatabase in which the LRS will be created.
- Type the name of the new LRS in the LRS Name text box.
- Name the minimum schema items:
- Type the name of the centerline feature class to create in the Centerline Feature Class Name text box.
- Type the name of the redline point feature class to create in the Redline Feature Class Name text box.
- Type the name of the calibration point feature class to create in the Calibration Point Feature Class Name text box.
- Type the name of the centerline sequence table to create in the Centerline Sequence Table Name text box.
- Click the Spatial Reference drop-down arrow and choose a spatial reference for the new LRS.
提示:
Alternatively click Select coordinate system to choose the spatial reference from the Coordinate System dialog box.
- Define the tolerance and resolution for all of the following:
- Define the x,y tolerance for the new LRS in the XY Tolerance text box.
注:
It is recommended to have an x,y- and z-tolerance at least 10 times as large as the x,y- and z-resolution for data used in ArcGIS Pipeline Referencing.
- Define the z-tolerance for the new LRS in the Z Tolerance text box.
- Define the x,y-resolution for the new LRS in the XY Resolution text box.
- Define the z-resolution for the new LRS in the Z Resolution text box.
注:
The spatial reference, tolerance, and resolution inputs will be applied to all output feature classes.
Tolerance and resolution fields in the LRS must share a unit of measure, meters or feet.
- Define the x,y tolerance for the new LRS in the XY Tolerance text box.
- Click Run to create the LRS.
The LRS entities that make up an LRS are created in the geodatabase.
- In the Catalog pane, expand the geodatabase you specified above to view the new feature dataset, minimum schema feature classes, and the centerline sequence table.
注:
The new centerline, calibration point, and redline feature classes are created in a feature dataset with the provided LRS name.
Create an LRS from an existing dataset
You can create an LRS from an existing dataset using the Create LRS From Existing Dataset geoprocessing tool. The existing centerline, calibration point, and redline feature classes that are not yet registered with an LRS must be inside a common feature dataset. The feature dataset name can be different from the LRS name.
- In ArcGIS Pro, open the Create LRS From Existing Dataset geoprocessing tool.
- Type the name of the new LRS in the LRS Name text box.
- Expand the Centerline section, click the Centerline - Feature Class drop-down arrow, and choose the feature class in an existing dataset to use as the centerline feature class. Alternatively click the Browse button and browse to an existing dataset.
- Click the Centerline - Centerline ID Field drop-down arrow and choose the centerline ID field.
This field is populated based on the feature class chosen in the Centerline - Feature Class parameter. The field type must match the centerlineID field type in the centerline sequence table.
- Expand the Centerline Sequence section and choose the table to use as the centerline sequence table by clicking the Centerline Sequence - Table drop-down arrow. Alternatively click the Browse to browse to an existing dataset.
- Click the Centerline Sequence - Centerline ID Field drop-down arrow and choose the centerline ID field in your centerline sequence table. The field type must match the centerline ID field type and length in the Centerline feature class.
- Click the Centerline Sequence - Route ID Field drop-down arrow and choose the route ID field in your centerline sequence table. The field type must match the routeID field type and length in the calibration point and redline feature classes.
- Click the Centerline Sequence - From Date Field drop-down arrow and choose the From date field in your centerline sequence table. This field must be a date field containing the From date.
- Click the Centerline Sequence - To Date Field drop-down arrow and choose the To date field in your centerline sequence table. This field must be a date field containing the To date.
- Click the Centerline Sequence - Network ID Field drop-down arrow and choose the network ID field in your centerline sequence table. The Short Integer field type is supported.
- Expand the Calibration Point section and choose the feature class in your existing dataset to use as the calibration point feature class by clicking the Calibration Point - Feature Class drop-down arrow or by clicking Browse to browse to your existing dataset.
- Click the Calibration Point - Measure Field drop-down arrow and choose a measure field. The Double field type is supported.
- Click the Calibration Point - From Date Field drop-down arrow and choose the From date field in your calibration point feature class. This field must be a date field containing the From date.
- Click the Calibration Point - To Date Field drop-down arrow and choose the To date field in your calibration point feature class. This field must be a date field containing the To date.
- Click the Calibration Point - Route ID Field drop-down arrow and choose the route ID field in your calibration point feature class. The field type must match the routeID field type and length in the centerline sequence table and redline feature class.
- Click the Calibration Point - Network ID Field drop-down arrow and choose the network ID field in your calibration point feature class. The Short Integer field type is supported.
- Expand the Redline section, click the Redline - Feature Class drop-down arrow, and choose the feature class in your existing dataset to use as the redline feature class. Alternatively click the Browse button and browse to an existing dataset.
注:
The Redline feature class must not be z- or m-enabled.
- Click the Redline - From Measure Field drop-down arrow and choose the From measure field in your redline feature class. The Double field type is supported.
- Click the Redline - To Measure Field drop-down arrow and choose the To measure field in your redline feature class. The Double field type is supported.
- Click the Redline - Route ID Field drop-down arrow and choose the route ID field in your redline feature class. The GUID and Text field types are supported. The field type must match the routeID field type and length in the calibration point feature class and centerline sequence table.
- Click the Redline - Route Name Field drop-down arrow and choose the route name field in your redline feature class. The field must be a Text field containing the route name.
- Click the Redline - Effective Date Field drop-down arrow and choose the effective date field in your redline feature class. The field must be a Date field containing the effective date.
- Click the Redline - Activity Type Field drop-down arrow and choose the activity type field in your redline feature class. The Short Integer field type is supported.
- Click the Redline - Network ID Field drop-down arrow and choose the network ID field in your redline feature class. The Short Integer field type is supported.
- Click Run to create the new LRS from your existing dataset.
The LRS is created in the geodatabase specified.
- In the Catalog pane, expand the input location you specified above to view the new feature dataset, minimum schema feature classes, and the centerline sequence table.
注:
The new centerline, calibration point, and redline feature classes are created in a feature dataset with the provided LRS name.
Modify an existing LRS
You can modify an existing LRS in the specified workspace. You can change which centerline, calibration point, or redline feature class is registered with the LRS, and you can change configurations, such as enabling conflict prevention. The existing centerline, calibration point, and redline feature classes that are registered with an LRS must be inside a common feature dataset. The feature dataset name can be different from the LRS name.
The Modify LRS geoprocessing tool can be used on a feature class or table with or without geometry or records.
- In ArcGIS Pro, open the Modify LRS geoprocessing tool.
- Click the Browse button next to Input Workspace and browse to the workspace that contains the LRS you want to modify.
- Choose the current name of the LRS in the workspace by clicking the Current LRS Name drop-down arrow.
When you choose the current LRS name, all the existing feature classes are populated in the Centerline, Centerline Sequence, Calibration Point, and Redline sections.
注:
The route ID and centerline ID must be unique; however, this tool doesn't check for duplicate IDs. This tool also doesn't check for nonexistent network IDs.
- Type the new name of the LRS in the New LRS Name text box.
- Optionally, click the Conflict Prevention drop-down arrow and enable or disable conflict prevention.
Conflict prevention must be set to Enable if you intend to publish feature services.
- Expand any section that contains a feature class you want to modify, click the Browse button , and choose the feature class.
- Click Run to modify the LRS.