Available with Location Referencing license.
You can add an event to an event layer in a feature service by adding a row to the layer's attribute table. The event record is generated when at least a route ID and measures are provided.
Note:
Right-click the event layer to which you want to add an event, and choose Attribute Table to open its attribute table in the ArcGIS Pro subpanel. To add an event record, click in the first empty row, and provide at least a route ID and measures for the event.
If a message regarding acquiring locks or reconciling appears, conflict prevention is enabled.
Depending on the event type—point event, line event, or spanning line event—the following are required to generate the event shape on the map:
- To add a point event to a point event layer using its attribute table, you must include a route ID and a measure.
- To add a line event to a line event layer using its attribute table, you must include a route ID, from measure, and to measure.
- To add a spanning event, you must include the from route ID, to route ID, from measure, and to measure.
After edits are made to the attribute table row, the system-provided Location Error value is updated to indicate the status.
Learn more about time slicing an event
Events that have stationing and referents configured are supported in ArcGIS Pro. When editing a referent or stationing event in the attribute table, you can provide the values for the stationing or referent columns; however, the event is drawn based only on the values provided in the measure fields.
You can provide an event ID; if you don't, the system automatically generates a GUID that serves as the event ID.
Location Errors
Location Errors allow you to determine data quality issues with LRS events. When an event is defined accurately using the attribute table or any other method, the result is a No Error value for the location error field.
Any of the following statuses indicate a problem that must be resolved.
Location Error | Description |
---|---|
Can't Find Extent | The route location's shape was not found because the from measure and the to measure are outside the route measures. |
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 Dates | The event's to date is before the event's from date. Note:When you edit an event's from date to be after its to date using the attribute table, they are automatically swapped. |
Invalid Line ID | The route's line ID is invalid. This is applicable to line networks. |
Invalid Line Order | The route's line order is invalid. 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). |
Multiple Location | More than one point location was found. Measures may not be unique along the routes. |
Null Extent | The from measure is equal to the to measure. |
Partial Match for From and To Measure | The entire route location's shape was not found. The from measure and the to measure are outside the route measure range. |
Partial Match for From Measure | The from measure is outside the route measure range. |
Partial Match for To Measure | The to measure is outside the route measure range. |
Reversed Line Order | The from route does not have a lower line order than the to route. This is applicable to line networks. |
Route Ms Null | The route does not have m-values or the m-values are null. |
Route Not Found | The route does not exist within the time slice in which the event is active. |
Route Shape Empty | The route does not have a shape or the shape is empty. |
Route Not Maware | The route is not an m-aware polyline. |
Scenarios for adding a line event using the attribute table
The scenarios below detail the results of adding a line event to an event layer by opening its attribute table and adding a new row to associate an event (Event1) to Route1.
Note:
When adding an event using the attribute table, if a route has multiple time slices and the new event has its from date and to date both set as <Null>, the event is added to the latest time slice of the route.
Adding a line event
The route (Route1) has measures from 0 to 20 before a line event is associated with it.
The following table details the route attributes. Valid measures for an event on Route1 must be between 0 and 20, and valid dates must fall on 1/1/2000 or later.
Route ID | From Date | To Date |
---|---|---|
Route1 | 1/1/2000 | <Null> |
The following table details the event when it is resolved to the No Error value in the Location Error field:
Event | Route ID | From Date | To Date | From Measure | To Measure | Location Error | Speed Limit |
---|---|---|---|---|---|---|---|
Event1 | Route1 | 1/1/2000 | <Null> | 10 | 20 | No Error | 55 |
The following image shows the route and its associated event after its shape is generated:
Adding a line event resulting in a location error
The route (Route1) has measures from 0 to 20 before a line event is associated with it.
The following table details the route attributes. Valid measures for an event on Route1 must be between 0 and 20, and valid dates must fall on 1/1/2000 or later.
Route ID | From Date | To Date |
---|---|---|
Route1 | 1/1/2000 | <Null> |
The following table details the event when it is resolved to the Partial Match For To Measure value in the Location Error field. In this case, the match is partial because the route ends at 20, not 30. The event shape is generated but ends at the route's actual to measure of 20.
Route ID | From Date | To Date | From Measure | To Measure | Location Error | Speed Limit |
---|---|---|---|---|---|---|
Route1 | 1/1/2000 | <Null> | 10 | 30 | Partial Match for To Measure | 55 |
In such a case, provide a valid to measure for the route to resolve the location error.
The following image shows the event on Route1:
Scenarios for adding a spanning event using the attribute table
The scenarios below detail the results of adding spanning event values in the layer's attribute table.
Adding a spanning event
The following image shows the routes and their associated event before the edit:
The following table details the route attributes. Valid measures for an event on LineA must be between 0 on Route1 and 40 on Route3, and valid dates must fall on or after 1/1/2000.
Route ID | From Date | To Date |
---|---|---|
Route1 | 1/1/2000 | <Null> |
Route2 | 1/1/2000 | <Null> |
Route3 | 1/1/2000 | <Null> |
When the From Route ID, From Measure, To Route ID, To Measure, date, and other attributes are provided in the attribute table, the location error is calculated and a shape is generated for the event. In this case, Event1 is a spanning event that has measures from 5 on Route1 to 35 on Route3.
Event | From Route ID | To Route ID | From Date | To Date | From Measure | To Measure | Location Error | Speed Limit |
---|---|---|---|---|---|---|---|---|
Event1 | Route1 | Route3 | 1/1/2000 | <Null> | 5 | 35 | No Error | 55 |
The following image shows the routes after the spanning line event is added:
Adding a spanning event resulting in a location error
The following image shows the routes and their associated event before the edit:
The following table details the route attributes. Valid measures for an event on LineA must be between 0 on Route1 and 40 on Route3, and valid dates must fall on or after 1/1/2000.
Route ID | From Date | To Date |
---|---|---|
Route1 | 1/1/2000 | <Null> |
Route2 | 1/1/2000 | <Null> |
Route3 | 1/1/2000 | <Null> |
The following table details the event when it is resolved to the Partial Match For From-Measure value in the Location Error field. Since a valid event on Route2 can exist only between the measures 15 and 25, the event shape is generated using 15.
Event | From Route ID | To Route ID | From Date | To Date | From Measure | To Measure | Location Error | Speed Limit |
---|---|---|---|---|---|---|---|---|
Event1 | Route2 | Route3 | 1/1/2000 | <Null> | 10 | 35 | Partial Match For From-Measure | 55 |
In such a case, provide a valid measure for Route2 in the From Measure field to resolve the location error.
The following image shows the routes after the spanning line event is added: