Skip To Content

Create and modify an LRS

Available with Location Referencing license.

The 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 a new LRS and a new feature dataset that contains centerline, calibration points, and redline feature classes; create a new LRS from an existing dataset; or modify an existing LRS using geoprocessing tools.

See LRS data model to learn about the data elements used in the LRS.

Create a new 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.

  1. In ArcGIS Pro, open the Create LRS geoprocessing tool.
  2. Click the Browse button Browse next to Input Location and browse to the geodatabase in which the LRS will be created.
  3. Type the name of the new LRS in the LRS Name text box.
  4. 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.
  5. Type the name of the centerline sequence table to create in the Centerline Sequence Table Name text box.
  6. Choose a spatial reference for the new LRS by clicking the Spatial Reference drop-down arrow.
    Tip:

    You can also click Select coordinate system Coordinate System to choose the spatial reference from the Coordinate System dialog box.

  7. 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.
      Note:

      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.
    Note:

    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. For more information, see Tolerance and resolution settings for the LRS.

  8. Click Run to create the new LRS.

    The LRS entities that make up an LRS are created in the geodatabase.

  9. 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.
    Note:

    The new centerline, calibration point, and redline feature classes are created in a feature dataset with the provided LRS name.

    Feature dataset after running Create LRS

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.

  1. In ArcGIS Pro, open the Create LRS From Existing Dataset geoprocessing tool.
  2. Type the name of the new LRS in the LRS Name text box.
  3. Expand the Centerline section and choose the feature class in your existing dataset to use as the centerline feature class by clicking the Centerline - Feature Class drop-down arrow or by clicking the Browse button Browse to browse to your existing dataset.
  4. Choose the centerline ID field by clicking the Centerline - Centerline ID Field drop-down arrow. This field is populated based on the feature class chosen in the Centerline - Feature Class parameter. The field type should match the centerlineID field type in the centerline sequence table.
  5. 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. You can also click Browse to browse to your existing dataset.
    • Choose the centerline ID field in your centerline sequence table by clicking the Centerline Sequence - Centerline ID Field drop-down arrow. The field type should match the centerline ID field type and length in the Centerline feature class.
    • Choose the route ID field in your centerline sequence table by clicking the Centerline Sequence - Route ID Field drop-down arrow. The field type should match the routeID field type and length in the calibration point and redline feature classes.
    • Choose the From date field in your centerline sequence table by clicking the Centerline Sequence - From Date Field drop-down arrow. This field should be a date field containing the From date.
    • Choose the To date field in your centerline sequence table by clicking the Centerline Sequence - To Date Field drop-down arrow. This field should be a date field containing the To date.
    • Choose the network ID field in your centerline sequence table by clicking the Centerline Sequence - Network ID Field drop-down arrow. The Short Integer field type is supported.
  6. 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.
    • Choose a measure field by clicking the Calibration Point - Measure Field drop-down arrow. The Double field type is supported.
    • Choose the From date field in your calibration point feature class by clicking the Calibration Point - From Date Field drop-down arrow. This field should be a date field containing the From date.
    • Choose the To date field in your calibration point feature class by clicking the Calibration Point - To Date Field drop-down arrow. This field should be a date field containing the To date.
    • Choose the route ID field in your calibration point feature class by clicking the Calibration Point - Route ID Field drop-down arrow. The field type should match the routeID field type and length in the centerline sequence table and redline feature class.
    • Choose the network ID field in your calibration point feature class by clicking the Calibration Point - Network ID Field drop-down arrow. The Short Integer field type is supported.
  7. Expand the Redline section and choose the feature class in your existing dataset to use as the redline feature class by clicking the Redline - Feature Class drop-down arrow or by clicking the Browse button Browse to browse to your existing dataset.
    Note:

    The Redline feature class must not be z- or m-enabled.

    • Choose the From measure field in your redline feature class by clicking the Redline - From Measure Field drop-down arrow. The Double field type is supported.
    • Choose the To measure field in your redline feature class by clicking the Redline - To Measure Field drop-down arrow. The Double field type is supported.
    • Choose the route ID field in your redline feature class by clicking the Redline - Route ID Field drop-down arrow. The GUID and Text field types are supported. The field type should match the routeID field type and length in the calibration point feature class and centerline sequence table.
    • Choose the route name field in your redline feature class by clicking the Redline - Route Name Field drop-down arrow. The field should be a Text field containing the route name.
    • Choose the effective date field in your redline feature class by clicking the Redline - Effective Date Field drop-down arrow. The field should be a Date field containing the effective date.
    • Choose the activity type field in your redline feature class by clicking the Redline - Activity Type Field drop-down arrow. The Short Integer field type is supported.
    • Choose the network ID field in your redline feature class by clicking the Redline - Network ID Field drop-down arrow. The Short Integer field type is supported.
  8. Click Run to create the new LRS from your existing dataset.

    The LRS is created in the geodatabase specified.

  9. 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.
    Note:

    The new centerline, calibration point, and redline feature classes are created in a feature dataset with the provided LRS name.

    Feature dataset after running Create LRS From Existing Dataset

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, as well as change configurations, such as enable conflict prevention. The existing centerline, calibration point, and redline feature classes that are already 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.

  1. In ArcGIS Pro, open the Modify LRS geoprocessing tool.
  2. Click the Browse button Browse next to Input Workspace and browse to the workspace that contains the LRS you want to modify.
  3. 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.

    Note:

    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.

  4. Type the new name of the LRS in the New LRS Name text box.
  5. Optionally choose to enable or disable the conflict prevention option by clicking the Conflict Prevention drop-down arrow.

    Conflict prevention should be set to Enable if you intend to publish feature services. For more information, see Conflict prevention.

  6. Expand any section that contains a feature class you'd like to modify and click the Browse button Browse to choose the new feature class.
  7. Click Run to modify the LRS.