Available with Location Referencing license.
The following information will guide you through the process of linear referenced data modeling, loading, and route editing using the ArcGIS Pipeline Referencing extension.
A linear referencing system (LRS) dataset is a controller dataset in a feature dataset in the geodatabase along with all the feature classes that participate in the LRS.
You can review the hierarchy for an LRS from either the Contents pane or the Catalog pane.
The LRS dataset is visible only in ArcGIS Pro. An error message appears if a geodatabase that contains the LRS dataset is opened in ArcMap.
The following tools create an LRS dataset, as of ArcGIS Pro 2.3:
- Create LRS—The newly created centerline, calibration point, and redline feature classes are placed in a feature dataset with the same name as the provided LRS name.
- Create LRS From Existing Dataset—The existing centerline, calibration point, and redline feature classes that are not yet registered with an LRS must be in a common feature dataset. The feature dataset name can be different from the LRS name.
- Modify LRS—The existing centerline, calibration point, and redline feature classes that are registered with an LRS must be in a common feature dataset. The feature dataset name can be different from the LRS name.
The LRS dataset is required to run the following tools:
- All Configuration toolset tools
- Append Events
- Append Routes
- Apply Event Behaviors
- Delete Routes
- Derive Event Measures
- Generate Calibration Points
- Generate Events
- Generate Intersections
- Generate Routes
- Remove Overlapping Centerlines
You can review some of the information contained in the LRS dataset using an arcpy.Describe function. To review the LRS Metadata and Event Behavior Rules for a geodatabase with an LRS controller dataset, use the following functions:
desc = arcpy.Describe("C:\\Data\\LRData\\LrsSchema.gdb\\Lrs\\Lrs") lrsXML = desc.lrsMetadata eventBehaviors = desc.eventBehaviorRules
desc = arcpy.Describe("C:\\Data\\LRData\\LrsSchema.sde\\GPRefresh.DBO.LRS\\GPRefresh.DBO.LRS") lrsXML = desc.lrsMetadata eventBehaviors = desc.eventBehaviorRules
Writing to a file:
txtFile = open("C:\\Data\\LRData\\lrsXML.xml", "w") txtFile.write(lrsXML) txtFile.close()
Pipeline professionals are routinely tasked with considering alternative routing options to ensure regulatory compliance and for market, construction, and other business needs. This usually results in realigning (rerouting) a pipeline. Realignment not only changes the pathway of pipes but also impacts networks and events configured in an LRS data model.
To use Pipeline Referencing, your data must be in the Pipeline Referencing information model in the geodatabase. For more information, refer to the following:
The modeling and creation of your linear referencing system (LRS) can be performed using the following tools.
- Create and modify an LRS.
- Create LRS networks.
To modify an existing LRS Network, use the Modify LRS Network tool.
- Create LRS events.
To add derived measure fields to your event feature class, run Enable Derived Measure Fields.
To add referent fields to the event feature class, use Enable Referent Fields. This tool enables the referent fields by allowing you to register existing fields as referent fields.
To modify an existing LRS event, use Modify LRS Event.
- Create LRS intersections.
To add intersections to your intersection feature class, run Generate Intersections.
To modify an existing LRS intersection feature class, use Modify LRS Intersection.
- Load routes into the LRS Network.
- Create calibration points.
- Prepare centerlines.
To remove overlaps that could cause data errors, use Remove Overlapping Centerlines.
- Load event data.
To load event records from a table, layer, or feature class into an existing event feature class, use Append Events.
- Configure a derived network.
Realign and reroute
The following tools help realign (reroute) and maintain linear referenced data:
- Create Centerline—Determine whether one or more centerlines exist for the realignment portion of a route or routes.
- Event Behavior—Consider how event behavior rules will apply to your route edits.
- Apply Event Behaviors—Apply event behaviors to keep event measures in alignment with route edits.
- LRS Network—Determine whether other nonderived LRS networks are affected by route edits.
- Generate Routes—Regenerate shapes for LRS networks, including the derived network.
- Derive Event Measures—Update derived network information on edited events.
Route editing workflows
The following table lists steps required for editing and maintaining pipeline data:
Create a centerline.
Perform the editing activity.
Run the Apply Event Behaviors tool.
If you have a Derived Network configured, run the Generate Routes tool.
If you have a Derived Network configured, run the Derive Event Measures tool.
If more LRS networks or line networks are configured, repeat the edit activity for each affected network.
Update event behaviors, route shapes, and derived network information for each affected network using the following tools: