Add a line event by route and measure

Available with Pipeline Referencing license.

Characteristics of a route can be represented as a line event with start and end measure information along the route. Use the Add Line Event tool to add line events to the geodatabase.

ArcGIS Pipeline Referencing allows you to add events that span routes that are part of a line.

Add a line event by route and measure

The example in the following workflow demonstrates adding a line event.

Before event creation

The following table provides details about attributes for the routes (LA_Route1, LA_Route2, and LA_Route3) that belong to LineA:

Route IDFrom DateTo Date

LA_Route1

1/1/2000

<Null>

LA_Route2

1/1/2000

<Null>

LA_Route3

1/1/2000

<Null>

Complete the following steps to add a line event by route and measure:

  1. Open the map in ArcGIS Pro and zoom to the location where you want to add the line event.
  2. Click the Location Referencing tab, and in the Events group, click Add > Line Event Add a single line event.

    The Add Line Event pane appears with the Route and Measure default value as the From Method and To Method values.

    Using the Route and Measure method, the measure location is based on the measure values from the selected route.

    Add Line Event pane
  3. Click Next.

    The From: Route and Measure, To: Route and Measure, and Dates sections appear in the Add Line Event pane.

    Add Line Event pane with route and measure and dates fields
  4. Click the Event Layer drop-down arrow and choose the line event layer.

    The Network layer is automatically populated once the event layer is chosen. The network serves as the source linear referencing method (LRM) to define the input measures for the event.

    The network is an LRS Network published as a layer in the feature service.

  5. If the selected event layer's parent network is a line network, click Choose line from map Choose line from map and choose a value to populate the Line Name text box.

    Alternatively, provide the line name in the Line Name text box.

  6. Click Choose route from map Choose route from map and click the route on the map to populate the route value.
    Note:

    If a message regarding acquiring locks or reconciling appears, conflict prevention is enabled.

  7. In the From: Route and Measure section, specify the start measure for the new line event along the route by doing one of the following to populate the Measure text box:
    • Click Choose measure from map Choose measure from map and click the start measure value along the route on the map.
    • Check the Route start date check box.
    • Provide the start measure value in the Measure text box.
    Note:

    After clicking Choose route from map Choose route from map or Choose measure from map Choose measure from map, you can hover over the routes to see the route and measure at the location of the pointer.

    If only one applicable route exists at the edit location, click to select it. If multiple routes exist at the edit location, the Select Route dialog box appears where you can choose an applicable route.

    You can set map scale options for display of route and measure information on the Options dialog box on the Location Referencing tab.

    A green point appears at the selected location on the map.

  8. Optionally, in the To: Route and Measure section, specify the end measure for the new line event along the route by doing one of the following to populate the Measure text box:
    • Click Choose measure from map Choose measure from map and select the start measure value along the route on the map.
    • Check the Use route end measure check box.
    • Provide the end measure value in the Measure text box.

    A red point appears at the selected location on the map.

    You can also add events in the reverse direction of calibration of the route. For example, you can provide a start measure value greater than the end measure value for the events in the Add Line Event pane. The resulting events are created with the lesser value as the start measure, and the greater value as the end measure.

  9. Specify the start date of the event by doing one of the following:
    • Click Calendar Calendar and choose the start date.
    • Provide the start date in the Start Date text box.
    • Double-click in the Start Date text box to use today's date.
    • Check the Route start date check box.

    The start date default value is today's date, but you can choose a different date using the date picker.

  10. Optionally, specify the end date of the event by doing one of the following:
    • Click Calendar Calendar and choose the end date.
    • Provide the end date in the End Date text box.
    • Double-click in the End Date text box to use today's date.

    If no end date is provided, the event remains valid from the event start date into the future.

  11. Choose a data validation option to prevent erroneous input while characterizing a route with line events.
    • Retire overlaps—The measure, start date, and end date of existing events are adjusted to prevent overlaps with respect to time and measure values once the new line event or events are created. For more information, refer to the retire overlaps scenarios.
      Retire overlaps behavior simple scenario
    • Merge coincident events—When all attribute values for a new event are exactly the same as an existing event, and if the new event is adjacent to or overlapping an existing event in terms of its measure values, and its time slices are coincident or overlapping, the new event is merged with the existing event and the measure range is expanded accordingly. For more information, refer to the merge coincident events scenarios
      Merge coincident events simple scenario
  12. Click Next.

    The attributes for the chosen event layer appear under Manage Attributes.

    Note:

    You can use the check boxes to add data for specific events in the attribute set. No records are added for events that are not checked.

  13. Provide attribute value information for the events in the attribute set.
    Add Line Event pane with Manage Attributes
    Note:

    Click Copy attribute values by selecting event on the map Copy attribute values by selecting event on the map and click an existing line event belonging to the same event layer on the map to copy event attributes from that event.

    Note:

    Coded value domains, range domains, subtypes, contingent values, and attribute rules are supported when configured for a field.

  14. Click Run.

    A confirmation message appears once the line event is added and appears on the map.

The following table provides details about the spanning event after adding the line event:

EventFrom Route IDTo Route IDFrom DateTo DateFrom MeasureTo MeasureLocation ErrorMAOP Design Pressure

Event1

LA_Route1

LA_Route3

1/1/2000

<Null>

5

35

No Error

800

The following diagram shows the routes and the spanning event after adding the line event:

The spanning event begins on LR_Route1 and ends on LA_Route3.

Referent offset when using the route and measure method

The Pipeline Referencing events data model supports the configuration of referent event fields and their enablement using the Enable Referent Fields tool. Once referent fields are configured and enabled in a layer, referent locations are populated and persisted in that layer when events are added or edited.

When a line event is created using route and measure in a referent-enabled layer, the parent LRS Network is used by default as the FromRefMethod and ToRefMethod values, and the route is used as the FromRefLocation and ToRefLocation values. The from and to measures of the line event are used as the FromRefOffset and ToRefOffset values.

If either measure of a line event is updated, the corresponding offset value updates to reflect the new measure.

The examples below demonstrate the impact of adding a line event that has referent values enabled.

Before adding a line event with referents

The following diagram shows the routes before event creation:

Before event creation with referents

The following table provides details about the routes:

Route IDFrom DateTo DateFrom MeasureTo Measure

R1

1/1/2000

<Null>

1

5

R2

1/1/2000

<Null>

7

12

R3

1/1/2000

<Null>

13

18

The following table provides details about the event referent fields before event creation:

FromRefMethodFromRefLocationFromRefOffsetToRefMethodToRefLocationToRefOffset

<Null>

<Null>

<Null>

<Null>

<Null>

<Null>

After adding a line event with referents

The following diagram shows the route and an associated event:

After event creation with referents

The following table provides details about the event referent fields after event creation:

FromRefMethodFromRefLocationFromRefOffsetToRefMethodToRefLocationToRefOffset

PipeSeriesNetwork

R1

0

PipeSeriesNetwork

R3

18

The following table shows the default event fields after event creation:

From Route IDTo Route IDFrom DateTo DateFrom MeasureTo Measure

R1

R3

1/1/2000

<Null>

0

18

You can edit the event using the attribute table so that it uses referents other than the default . If subsequent route edits are made, the RefMethod and RefLocation values revert to the parent LRS Network and the route, respectively.

Retire overlaps scenarios

The examples below demonstrate adding line events that overlap when the Retire overlaps check box is checked.

Single event scenario

In this example, Route1 has an existing DOT Class event that has dates from 1/1/2000 to <Null>. The impact of adding a second DOT Class event with overlapping measures is demonstrated.

The following diagram shows the route and the existing event:

Route 1 has an existing event from 5 to 7.

The following table provides details about the custom values for EventA before the edit:

Event IDEvent LayerClass Type

Event A

DOT Class

Class 1

The following table provides details about the default field values for EventA before the edit:

Event IDRoute NameFrom MeasureTo MeasureFrom DateTo Date

EventA

Route1

3

7

1/1/2000

<Null>

The following diagram shows the route and a second event that is added with dates from 1/1/2005 to <Null>:

A second overlapping event is added.

The following table provides details about the custom values for EventB:

Event IDEvent LayerClass Type

EventB

DOT Class

Class 2

The following table provides details about the default field values for EventB after the edit:

Event IDRoute NameFrom MeasureTo MeasureFrom DateTo Date

EventB

Route1

5

7

1/1/2005

<Null>

The following diagram shows the impact of checking the Retire Overlaps check box on the route and both events:

A second overlapping event is added.

The following table provides details about the custom values for both events after event creation:

Event IDEvent LayerClass Type

EventA

DOT Class

Class 1

EventB

DOT Class

Class 2

Tip:

EventA has two event records with identical custom values with different dates (and different from and to measures).

The following table provides details about the default values after retire overlaps is applied:

Event IDRoute NameFrom MeasureTo MeasureFrom DateTo Date

EventA

Route1

3

7

1/1/2000

1/1/2005

EventA

Route1

3

5

1/1/2005

<Null>

EventB

Route1

5

7

1/1/2005

<Null>

Multiple events scenario

In this example, Route1 has two existing events, a DOT Class event and an Operating Pressure Range event, both of which have dates from 1/1/2000 to <Null>. The impact of adding a second pair of events in the same event layers that have overlapping measures is demonstrated.

The following diagram shows the route and the existing events:

Route 1 has multiple existing events.

The following table provides details about the custom values for EventA and EventC. The DOT Class layer has the custom fields Class Type and Class Source, and the Operating Pressure Range layer has the custom fields Pressure Type and Pressure Value.

Event IDEvent LayerCustom Value 1Custom Value 2

EventA

DOT Class

Class 1

Calculated

EventC

Operating Pressure Range

Design

500

The following table provides details about the default field values for EventA and EventC before the edit:

Event IDRoute NameFrom MeasureTo MeasureFrom DateTo Date

EventA

Route1

3

7

1/1/2000

<Null>

EventC

Route1

2

7

1/1/2000

<Null>

The following diagram shows the route and two new events in the same event layers that are added with dates from 1/1/2005 to <Null>:

A second overlapping event is added.

The following table provides details about the custom values for EventB and EventD:

Event IDEvent LayerCustom Value 1Custom Value 2

EventB

DOT Class

Class 2

Calculated

EventD

Operating Pressure Range

Certificate

700

The following table provides details about the default field values for EventB and EventD:

Event IDRoute NameFrom MeasureTo MeasureFrom DateTo Date

EventB

Route1

5

7

1/1/2005

<Null>

EventD

Route1

5

7

1/1/2005

<Null>

The following diagram shows the route and events after retire overlaps has been applied:

A second overlapping event is added.

The following table provides details about the custom values for EventA and EventB in DOT Class, as well as EventC and EventD in Operating Pressure Range:

Tip:

Each event has multiple custom fields whose values are shown in the Custom Value 1 and Custom Value 2 columns in the following table. Values in these columns correspond to the Event Layer value in the same row.

Event IDEvent LayerCustom Value 1Custom Value 2

EventA

DOT Class

Class 1

Calculated

EventB

DOT Class

Class 2

Calculated

EventC

Operating Pressure Range

Design

500

EventD

Operating Pressure Range

Certificate

700

The following table provides details about the default values after retire overlaps is applied:

Event IDRoute NameFrom MeasureTo MeasureFrom DateTo Date

EventA

Route1

3

7

1/1/2000

1/1/2005

EventC

Route1

2

7

1/1/2000

1/1/2005

EventA

Route1

3

5

1/1/2005

<Null>

EventC

Route1

2

5

1/1/2005

<Null>

EventB

Route1

5

7

1/1/2005

<Null>

EventD

Route1

5

7

1/1/2005

<Null>

Merge coincident events scenarios

The examples below demonstrate adding line events that have coincident measures when the Merge coincident events check box is checked.

Single event scenario

In this example, Route1 has an existing DOT Class event that has dates from 1/1/2000 to <Null>. The impact of adding a DOT Class event that has coincident measures when Merge coincident events is checked is demonstrated.

The following diagram shows the route and the existing event:

Route 1 has an existing event from 0 to 4.

The following table provides details about the custom values for EventA:

Event IDEvent LayerClass Type

Event A

DOT Class

Class 1

The following table provides details about the default field values for EventA before the edit:

Event IDRoute NameFrom MeasureTo MeasureFrom DateTo Date

EventA

Route1

0

4

1/1/2000

<Null>

The following diagram shows the route and a second event that is added with dates from 1/1/2000 to <Null>:

An event with coincident measures is added.

The following table provides details about the custom values for the new input:

Event IDEvent LayerClass Type

[NewEvent input]

DOT Class

Class 1

The following table provides details about the default field values for the new input:

Event IDRoute NameFrom MeasureTo MeasureFrom DateTo Date

[NewEvent input]

Route1

4

8

1/1/2000

<Null>

The following diagram shows the impact of checking the Merge coincident events check box when adding the new event:

EventA after the new event is merged

The following table provides details about the custom values for the event after event creation:

Event IDEvent LayerClass Type

EventA

DOT Class

Class 1

The following table provides details about the default values after the new event measures are merged with EventA:

Event IDRoute NameFrom MeasureTo MeasureFrom DateTo Date

EventA

Route1

0

8

1/1/2000

<Null>

Multiple events scenario

In this example, Route1 has two existing events, a DOT Class event (EventA) and an Operating Pressure Range event (EventB), both of which have dates from 1/1/2000 to <Null>. The impact of adding a second pair of events that have coincident measures in the same event layers, but different from and to dates, is demonstrated.

The following diagram shows the route and the existing events:

Route 1 has multiple existing events.

The following table provides details about the custom values for EventA and EventB before the edit. The DOT Class layer has the custom field Class Type with the value Class 1, and the Operating Pressure Range layer has the custom field Pressure Type with the value Design.

Event IDEvent LayerCustom Value 1

EventA

DOT Class

Class 1

EventB

Operating Pressure Range

Design

The following table provides details about the default field values for EventA and EventB before the edit:

Event IDRoute NameFrom MeasureTo MeasureFrom DateTo Date

EventA

Route1

0

4

1/1/2000

<Null>

EventB

Route1

0

5

1/1/2000

<Null>

The following diagram shows the route and input for the new events that are added with dates from 1/1/2005 to <Null>:

Input for two new events

The following table provides details about the custom values in the new event inputs:

Event IDEvent LayerCustom Value

[NewEvent1 input]

DOT Class

Class 1

[NewEvent2 input]

Operating Pressure Range

Design

The following table provides details about the default field values in the new event inputs:

Event IDRoute NameFrom MeasureTo MeasureFrom DateTo Date

[NewEvent1]

Route1

4

8

1/1/2005

<Null>

[NewEvent2]

Route1

4

8

1/1/2005

<Null>

The following diagram shows the route and events after the new events have been merged based on the coincident measures. In this case, the dates result in a new event record, or new time slice, for the existing events with the updated measures.

Merged coincident events

The following table provides details about the custom values for EventA in DOT Class and EventB in Operating Pressure Range. DOT Class has two event records with the custom Class Type value, Class 1. Operating Pressure Range also has two event records with the custom Pressure Type value, Design.

Event IDEvent LayerCustom Value

EventA

DOT Class

Class 1

EventA

DOT Class

Class 1

EventB

Operating Pressure Range

Design

EventB

Operating Pressure Range

Design

The following table provides details about the default values after events are merged:

Event IDRoute NameFrom MeasureTo MeasureFrom DateTo Date

EventA

Route1

0

4

1/1/2000

1/1/2005

EventA

Route1

0

8

1/1/2005

<Null>

EventB

Route1

0

5

1/1/2000

1/1/2005

EventB

Route1

0

8

1/1/2005

<Null>