Delete Routes (Location Referencing Tools)
Summary
Deletes routes and associated data elements from the LRS Network.
Usage
An LRS dataset is required to run this tool.
As part of deleting routes, you can also use the Delete Routes tool to do the following:
Delete all Centerline Sequence records that have the routeId of deleted routes.
Delete all records in the lrs_edit_log table related to deleted routes.
Optionally delete associated centerlines, calibration points, and events.
Caution:
Running Delete Routes without using the Delete associated centerlines, Delete associated calibration points, and Delete associated events parameters may result in those centerlines, calibration points, and events not referencing to any route.
The input must be a network feature class registered with an LRS Network.
Select routes that need to be deleted before running the tool. Selection on an LRS Network feature class can be performed using the Select tool or definition queries.
If no routes have been selected in the LRS Network feature class, the tool will fail.
Selected route records with the same routeId will be deleted across time.
If a route is selected in a Line Network, all routes in the same line will be deleted across time.
If the Delete associated calibration points parameter is checked, calibration points associated with the routes will be deleted across time.
If the Delete associated events parameter is checked, all events registered with the network that have the same routeId of a deleted route will be deleted across time.
If the Delete associated centerlines parameter is checked, centerlines associated with the selected routes will be deleted. If centerlines are shared between networks, those common centerlines will not be deleted.
It is recommended that you do not run this tool on the default version of a database.
If this tool is run in an edit session, the deleted routes can be undone.
Caution:
If this tool is run outside an edit session, the deleted routes cannot be undone.
In the case of routes that have a null routeId or lineId, the tool will run but records will not be deleted.
The Delete Routes tool cannot be run on network layers in ArcGIS Pro when a time filter is turned on.
This tool supports conflict prevention and will attempt to acquire and transfer locks.
Learn more about conflict prevention in ArcGIS Pipeline Referencing or conflict prevention in ArcGIS Roads and Highways.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Route Features |
The route feature class registered with the network. |
Feature Layer |
|
Delete associated calibration points (Optional) |
Specifies whether calibration points associated with the deleted routes will be deleted.
|
Boolean |
|
Delete associated events (Optional) |
Specifies whether events associated with the deleted routes will be deleted.
|
Boolean |
|
Delete associated centerlines (Optional) |
Specifies whether centerlines that are exclusively associated with the deleted routes will be deleted.
|
Boolean |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Updated Route Features |
Updated LRS Network feature class. |
Feature Layer |
|
Output Results File |
A text file that details the routes deleted from the LRS Network feature class. |
Text File |
|
Output Derived Route Features |
The updated derived route feature layer. |
Feature Layer |
Environments
Licensing information
- Basic: Requires ArcGIS Location Referencing (ArcGIS Pipeline Referencing or ArcGIS Roads and Highways)
- Standard: Requires ArcGIS Location Referencing (ArcGIS Pipeline Referencing or ArcGIS Roads and Highways)
- Advanced: Requires ArcGIS Location Referencing (ArcGIS Pipeline Referencing or ArcGIS Roads and Highways)