Skip to main content

Merge centerlines

Available with Location Referencing license.

The Merge Centerlines tool is a centerline feature class editing tool available in ArcGIS Pipeline Referencing. This tool reduces segmentation by merging centerlines that are associated with a common route. Once centerlines are merged, the records in the centerline sequence table are updated accordingly.

Note:

This tool is not supported if the centerline feature class is part of an ArcGIS Utility Network configuration.

The following requirements must be met for the centerlines to be merged:

  • The centerline layer is part of a feature service that is published with the Linear Referencing and Version Management capabilities.

  • All attributes except the centerline ID must be identical across individual centerlines.

  • The centerline IDs must either all be null or all be populated.

  • The centerlines must be associated with the same route across all time slices.

  • The centerlines must be single part line features.

  • Gaps must not exist between individual centerlines.

  • The centerlines must not form a complex shape.

Valid merge scenarios

Valid merge scenarios are described below.

Centerlines have matching attributes

The following image and table show the route and centerlines before a merge:

Route and centerlines before a merge

Route Centerline Status
1001 1 Active
1001 2 Active
1001 3 Active
1001 4 Active

The following image and table show a successful merge when the centerlines have matching attributes:

Route and centerlines after a merge

Route Centerline Status
1001 1 Active

Centerlines are associated with multiple routes

In the following example, the first three centerlines are associated with multiple routes, but they can still be merged as long as the route shape and association remain intact after the merge:

Before the merge After the merge
Route Centerlines before the merge Centerlines after the merge
1001 1, 2, 3, 4 1, 4
2001 1, 2, 3 1

Invalid merge scenarios

Invalid merge scenarios are described below.

Centerlines do not have matching attributes

In the following example, the Merge Centerlines tool returns an error because the centerlines do not have matching attributes:

Route and centerlines before a merge

Route Centerline Status
1001 1 Active
1001 2 Active
1001 3 Active
1001 4 Scheduled

Centerlines are associated with multiple routes

In the following example, if all four centerlines are selected, the Merge Centerlines tool returns an error because the centerlines are associated with multiple routes:

Centerlines are associated with multiple routes

Centerline IDs have both null and populated values

In the following example, if all four centerlines are selected, the Merge Centerlines tool returns an error because two centerlines are associated with a route, while the other two centerlines are not:

Not all centerlines are associated with a route

Centerline Centerline ID
1 {AD27FCC9-DCA1-4BC6-A869-6ACEDCBBE970}
2 {DEBC0EE7-60DF-483C-95B3-9B3239F10DB8}
3 <Null>
4 <Null>

Merge centerlines workflow

To merge centerlines, complete the following steps:

  1. Add the centerline feature class and network feature class to a map in ArcGIS Pro.

    You can also open a map in which the centerline and network layers are already present.

    Note:

    The centerline feature class must be edited through a feature service.

  2. Zoom to the centerlines that you want to merge.

  3. On the map, select two or more centerlines to be merged.

  4. On the Location Referencing tab, in the Tools group, click the Merge Centerlines tool .

    The selected centerlines are merged.

    Note:

    If conflict prevention is enabled, the route associated with the centerlines is locked.