Available with Location Referencing license.
You can edit an event feature in a feature service event layer using the Edit Vertices tool .
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 Error | Description |
---|---|
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 .
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.
The following table details the route attributes:
Route ID | From Date | To Date |
---|---|---|
Route1 | 1/1/2000 | <Null> |
The following table details the event before editing:
Route ID | From Date | To Date |
---|---|---|
Route1 | 1/1/2000 | <Null> |
Event ID | Route ID | From Date | To Date | From Measure | To Measure | Location Error | Speed 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 . The first vertex is used as the From Measure, and the last vertex is used as the To Measure.
The following image shows the event after editing:
The following table details the event after editing:
Route ID | From Date | To Date | From Measure | To Measure | Location Error | Speed 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.
The following table details the route attributes:
Route ID | From Date | To Date |
---|---|---|
Route1 | 1/1/2000 | <Null> |
The following table details the event before editing. Event1 on Route1 has measures from 0 to 15.
Event ID | Route ID | From Date | To Date | From Measure | To Measure | Location Error | Speed 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.
The following table details Event1. Since the event's to measure cannot be located, a location error occurs.
Event ID | Route ID | From Date | To Date | From Measure | To Measure | Location Error | Speed 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:
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 or the Move tool .
Editing a spanning event
The following image shows the routes and their associated event. Route1 and Route2 are on LineA.
The following table details the route attributes:
Route ID | From Date | To Date |
---|---|---|
Route1 | 1/1/2000 | <Null> |
Route2 | 1/1/2000 | <Null> |
The following table details the event before editing:
Event | From Route ID | To Route ID | From Date | To Date | From Measure | To Measure | Location Error | Speed 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.
The following table details the event after editing:
Event | From Route ID | To Route ID | From Date | To Date | From Measure | To Measure | Location Error | Speed 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:
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.
The following table details the route attributes. RouteX1 is located on LineB.
Route ID | From Date | To 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 ID | From Route ID | To Route ID | From Date | To Date | From Measure | To Measure | Location Error | Speed 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).
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.
Event | From Route ID | To Route ID | From Date | To Date | From Measure | To Measure | Location Error | Speed 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.