Append Routes (Location Referencing Tools)
Summary
Appends routes from an input polyline layer into an LRS Network.
Note:
When the target layer is a feature service layer, the validation results will be written to a file in the ArcGIS Server directory. By default, this file will be automatically cleaned up after 10 minutes, which may not be enough time to process all of the validations and write them to the workstation that is running ArcGIS Pro. For larger data loads, it is recommended that you adjust the maximum file age to at least one hour. You can edit a server directory in ArcGIS Server Manager to adjust this setting.
Usage
An LRS dataset is required to run this tool.
This tool supports appending routes on existing centerlines when the Consider existing centerlines parameter is checked.
When not considering existing centerlines, this tool creates centerlines in the target LRS dataset and the routes in the target LRS Network.
When considering existing centerlines, this tool associates routes with existing centerlines in the target LRS dataset that have an exact geometry match with the source routes. If the centerline that you append to a route does not have a centerline ID, one is created, and a centerline sequence record is added. If a centerline ID exists where you append a route, the existing centerline sequence record is updated with the appended route's route ID.
When the Consider existing centerlines parameter is checked, the following conditions will result in an error, and must be resolved before the source routes can be appended:
Appending the route feature requires a centerline split.
The x, y, and z geometries of the centerlines and routes do not match.
A centerline is a partial match, for example, if part of the centerline is outside the x-, y-, and z-tolerance.
An appended route has one or more centerlines that match the geometry, but there are locations where no centerlines exist.
Overlapping centerlines are detected.
There are no centerlines that match an appended route.
The source routes or existing centerlines have zero or near-zero lengths, which causes gaps in the geometry due to the clustering process. The clustering process snaps two points together when the distance between them is less than or equal to the following:
\(1.01 \space * \space sqrt(2) \space * \space (2 \space * \space tolerance \space + \space 2 \space * \space resolution)\)
For more information about clustering, see Feature class basics.
The output routes will have x-, y-, and z-values from the input polyline vertices, but no m-values will be appended.
Create any new fields that will be used for field mapping in the underlying LRS Network feature class before appending routes.
The spatial reference, x,y resolution, and x,y tolerance of the input polyline feature class and the target LRS Network must match.
A text file is written locally that states that the tool has been run and contains information about routes that fail validation. The tool messages provide the location of the text file, which is in the temporary directory.
When the Allow partial loading of routes parameter is checked, the following are supported:
Valid source routes will still be appended to the target LRS Network, even if certain source routes fail validation.
The tool will provide a feature class that contains source routes that fail validation. You can use the information in the text file to fix the problematic source routes.
Note:
The feature class that is created is temporary and is deleted when ArcGIS Pro is closed. To make a copy of the feature class, right-click the layer in the Contents pane and click Data > Export Features, or use the Export Features tool.
The output of this tool is a modified LRS Network that has had routes appended and centerline features created.
When conflict prevention is enabled, the following are supported:
If the routes to be appended are new, no locks will be acquired for those routes.
For other load types, such as Retire by route ID and Replace by route ID, locks will be automatically acquired if available.
If the locks cannot be acquired, the tool will not run and will provide a text file of the offending locks.
If working in the default version, the acquired locks will be released automatically when the tool finishes running successfully.
If working in a named version, the acquired locks will remain in the releasable status of On Post after the tool completes. Post or delete the version to release the locks.
If working in a named version and the tool process is canceled by interruption, the acquired locks will remain in the releasable status of Yes. The lock owner can release the locks.
Learn more about releasing locks in ArcGIS Pipeline Referencing or releasing locks in ArcGIS Roads and Highways.
Learn more about conflict prevention in ArcGIS Pipeline Referencing or conflict prevention in ArcGIS Roads and Highways.
If the input polyline feature class contains curves, the curves will be densified.
Learn more about curves in ArcGIS Pipeline Referencing or curves in ArcGIS Roads and Highways.
If the target LRS Network is configured as a line network with support for a multi-field route ID, the following parameters are not required for appending routes:
Route Name Field
Line Name Field
When appending new routes using the Add parameter value for the Load Type parameter, if the target LRS Network has a route name configured, routes can be appended using the route name. If the route IDs are null, route IDs will be automatically generated for the appended routes.
The tool checks that the line order values are greater than zero and in increments of 100 with flow and direction of routes in a line. Incorrect line order values will cause the tool to fail. The output text file reports the incorrect line order values as errors. The tool will run successfully once these errors are fixed.
The tool checks for a utility network that is configured with the LRS Network to which the routes will be loaded. If a utility network is found, the tool considers existing centerlines when appending routes, and the Consider existing centerlines parameter is hidden in the Geoprocessing pane.
Learn more about managing Pipeline Referencing and a utility network together
This tool will fail if the Load Type parameter is set to Replace by route ID or Retire by route ID and the source route does not have the same route name and route ID values as the target route.
If the Replace by route ID parameter value is specified for the Load Type parameter, any routes that are replaced will have the route and centerline sequence records replaced. Calibration points on the route will be deleted and must be re-created or reloaded.
If the LRS is configured with the Address Data Management solution, the Consider existing centerlines parameter is checked by default.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Source Routes |
The input from which the routes will be derived. The input can be a polyline feature class, shapefile, feature service, or LRS Network feature class. |
Feature Layer |
|
LRS Network |
The target LRS Network where the routes will be loaded. |
Feature Layer |
|
Route ID Field |
The field in the input polyline feature class that will be mapped to the LRS Network's route ID field. The field type must match the |
Field |
|
Route Name Field |
The field in the input polyline feature class that will be mapped to the LRS Network's route name field. The field must be a string field, and the field length must be shorter than or equal to the length of the target route name field. |
Field |
|
From Date Field (Optional) |
The date field in the input polyline feature class that will be mapped to the LRS Network's start date field. If the field is not mapped, a null value representing the beginning of time will be provided for all appended routes. |
Field |
|
To Date Field (Optional) |
The date field in the input polyline feature class that will be mapped to the LRS Network's end date field. If the field is not mapped, a null value representing the end of time will be provided for all appended routes. |
Field |
|
Line ID Field (Optional) |
The field in the input polyline feature class that will be mapped to the LRS Network's line ID field. This parameter is only used if the target LRS Network is an LRS line network. The field type and length must match those of the centerline sequence table's route ID field. |
Field |
|
Line Name Field (Optional) |
The string field in the input polyline feature class that will be mapped to the LRS Network's line name field. This parameter is only used if the target LRS Network is an LRS line network. |
Field |
|
Line Order Field (Optional) |
The long integer field in the input polyline feature class that will be mapped to the LRS Network's line order field. This parameter is only used if the target LRS Network is an LRS line network. Learn more about line networks and line order in Pipeline Referencing or line networks and line order in Roads and Highways. |
Field |
|
Field Map (Optional) |
Controls how attribute information in the source route fields will be transferred to the input LRS Network. Fields cannot be added to or removed from the target LRS Network because the data of the source routes is appended to an existing LRS Network that has a predefined schema. While you can set merge rules for each output field, the tool will ignore them. |
Field Mappings |
|
Load Type (Optional) |
Specifies how appended routes with measure or temporality overlaps with identical route IDs will be loaded into the network feature class.
|
String |
|
Load Field (Optional) |
Specifies the field that will be used for loading routes.
|
String |
|
Consider existing centerlines (Optional) |
Specifies whether routes will be appended using existing centerlines.
|
Boolean |
|
Allow partial loading of routes (Optional) |
Specifies whether valid routes will be appended, even if certain routes fail validation.
|
Boolean |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
LRS Network |
The updated LRS Network feature layer. |
Feature Layer |
|
Output Results File |
The text file that details changes made by the tool. |
Text File |
|
Skipped Routes |
The feature class that contains source routes that fail validation. |
Feature Class |
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)