I am testing a new workflow using ArcGIS Pro 3.0.1 and a File Geodatabase.
I have a working LRS Dataset and Line Network in that File Geodatabase that represents a rail network.
I have a point feature class (perhaps signals) with all those points being along the rail network but they are not modeled as point events.
I want to select all the points along the rail network between a measure on one route and second measure on another route when both of those routes are part of the same line.
I have a workflow, within an ArcPy script, that does this but I want to make sure that I am using my LRS Dataset and Line Network in the way that it is designed to be used.
My workflow uses these steps:
- Use the Create LRS Event tool to create an empty line event feature class registered to my LRS Line Network with options for those line events to span routes and to be defined using from/to measures along from/to route names
- Use the Create Table and Add Field tools to create an empty event table with from/to measure, from/to route name, and any other fields required by the Append Routes tool
- Use an InsertCursor to insert one row into the event table that stores a from-measure on a from-route-name and a to-measure on a to-route-name. The LRS line network knows that the two routes are part of the same line.
- Use the Append Events tool to create a single line event feature from that one row event table
- Use Select Layer By Location to select the points that intersect the line event feature
This works, and impressively includes all the whole routes along the line between the two with from and to measures, but it seems cumbersome.
If I were to store the LRS Line Network in an Enterprise Geodatabase with a Location Referencing service published from it (which I've already prototyped), and convinced my client that the point features would be better modelled as point events, would that unlock a simpler and faster workflow to simply click two locations on a line network and highlight/select any point events between them along it?