Event editing using feature edits

Available with Location Referencing license.

You can edit an event feature in a feature service event layer using the Edit Vertices tool Edit Vertices.

Using this method, you can edit an existing event shape. The event’s route ID, route name, and measures are updated accordingly. The event’s dates do not change.

Note:

When an event is moved from one route to another route, the event is time sliced based on the route's from and to dates.

When you edit a point event, the route ID and measure are updated based on the underlying route. When editing a line event feature, the first vertex is used to populate the From Measure and From Route fields, and the last vertex is used to populate the To Measure and To Route fields. For spanning line event features, the from and to measures must be on routes that have the same line ID.

Learn more about modifying features using standard ArcGIS Pro tools

Note:

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

Location Errors

The Location Error value in the attribute field provides information about the status of the event. When an event is edited correctly, the No Error value occurs for the location error attribute field of the event. If the status is anything other than No Error, inspect the modified event and its attributes for issues and resolve them.

Any of the following statuses indicate a problem that must be resolved.

Location ErrorDescription

Can't Find Location

The route location's shape doesn't exist on the route (the route has no m-values or the route location's measures don't exist on the route).

Different From-Route And To-Route Line IDs

The from route and the to route have different line IDs. This is applicable to line networks.

Invalid Location Route ID

The route location's route ID is invalid (NULL, empty, or invalid value).

Invalid Measure

At least one of the route location's measure values is invalid.

Invalid Route ID

The route location's route ID is invalid (NULL, empty, or invalid value).

Reversed Line Order

The from route does not have a lower line order than the to route. This is applicable to line networks.

Route Not Found

The route does not exist.

Scenarios for editing line events using feature edits

The scenarios below detail the results of editing event features using the Edit Vertices tool Edit Vertices.

Editing a line event

The following image shows the route and its associated event. Route1 has measures from 0 to 20, and Event1 has measures from 0 to 10.

Before editing Event1 on Route1

The following table details the route attributes:

Route IDFrom DateTo Date

Route1

1/1/2000

<Null>

The following table details the event before editing:

Route IDFrom DateTo Date

Route1

1/1/2000

<Null>

Event IDRoute IDFrom DateTo DateFrom MeasureTo MeasureLocation ErrorSpeed Limit

Event1

Route1

1/1/2005

<Null>

0

10

No Error

55

To edit the event so that it runs from 0 to 20, where the intersection with Route2 is located, drag the last vertex of the event to the intersection using the Edit Vertices tool Edit Vertices. The first vertex is used as the From Measure, and the last vertex is used as the To Measure.

Event1 after selection

The following image shows the event after editing:

After editing a nonspanning event on Route1

The following table details the event after editing:

Route IDFrom DateTo DateFrom MeasureTo MeasureLocation ErrorSpeed Limit

Route1

1/1/2005

<Null>

0

20

No Error

55

Editing a line event resulting in a location error

The following image shows the route and its associated event. Route1 has measures from 0 to 20, and Event1 has measures from 0 to 15.

Before editing Event1 on Route1

The following table details the route attributes:

Route IDFrom DateTo Date

Route1

1/1/2000

<Null>

The following table details the event before editing. Event1 on Route1 has measures from 0 to 15.

Event IDRoute IDFrom DateTo DateFrom MeasureTo MeasureLocation ErrorSpeed Limit

Event1

Route1

1/1/2000

<Null>

0

15

No Error

55

During the edit, Event1 is dragged beyond the intersection and beyond the end of Route1. In this case, the event's shape remains intact and a location error occurs.

Event1 after dragging the last vertex to a new location

The following table details Event1. Since the event's to measure cannot be located, a location error occurs.

Event IDRoute IDFrom DateTo DateFrom MeasureTo MeasureLocation ErrorSpeed Limit

Event1

Route1

1/1/2000

<Null>

10.5

<Null>

Invalid Location Route ID

55

The following image shows the route after relocating the end vertex of the line event (Event1) on Route1:

After moving Event1 to Route2

Scenarios for editing spanning events using feature edits

The following scenarios detail the results of editing event features on the map using the Edit Vertices tool Edit Vertices or the Move tool Move.

Editing a spanning event

The following image shows the routes and their associated event. Route1 and Route2 are on LineA.

Before editing a line event that spans routes

The following table details the route attributes:

Route IDFrom DateTo Date

Route1

1/1/2000

<Null>

Route2

1/1/2000

<Null>

The following table details the event before editing:

EventFrom Route IDTo Route IDFrom DateTo DateFrom MeasureTo MeasureLocation ErrorSpeed Limit

Event1

Route1

Route2

1/1/2000

<Null>

0

25

No Error

55

In this case, the event is edited so that the start vertex of the event is snapped to measure 0 on Route1, and the end vertex of the event is snapped to end measure 25 of Route2.

Event1 after dragging the first and last vertex to new locations

The following table details the event after editing:

EventFrom Route IDTo Route IDFrom DateTo DateFrom MeasureTo MeasureLocation ErrorSpeed Limit

Event1

Route1

Route2

1/1/2000

<Null>

0

25

No Error

55

The following image shows the route and its associated event after the edit:

After editing a spanning line event resulting in no error

Editing a spanning event resulting in a location error

The following image shows the routes and their associated event. Route1 and Route2 are on LineA, and RouteX1 is on LineB. Event1 spans from measure 5 on Route1 to measure 20 on Route2.

Before editing a line event that spans routes

The following table details the route attributes. RouteX1 is located on LineB.

Route IDFrom DateTo Date

Route1

1/1/2000

<Null>

Route2

1/1/2000

<Null>

RouteX1

1/1/2000

<Null>

The following table details the event before editing:

Event IDFrom Route IDTo Route IDFrom DateTo DateFrom MeasureTo MeasureLocation ErrorSpeed Limit

Event1

Route1

Route2

1/1/2000

<Null>

5

20

No Error

55

In this case, the event is edited so that the end vertex of the event is snapped to measure 35 of RouteX1, which is on a different line (LineB).

Event1 after dragging the first and last vertex to new locations

The following table details Event1 after editing. Since the event's to measure cannot be located on the same line, the event is drawn only up to the end of Route2 on LineA and a location error describing the issue is provided.

EventFrom Route IDTo Route IDFrom DateTo DateFrom MeasureTo MeasureLocation ErrorSpeed Limit

Event1

Route1

RouteX1

1/1/2000

<Null>

5

35

Different From-Route and To-Route Line IDs

55

The following image shows Event1 after the error. The event is generated without the LineB segment.

After editing a line event on a spanning route resulting in an error