I'm new to Roads & Highways but have used ArcInfo Workstation Dynamic Segmentation and ArcMap Linear Referencing for intermittent intensive periods, often separated by years, over many years. This week I've been using ArcGIS Pro 2.9.3 to successfully create a route feature class in a file geodatabase from a line feature class with a Route_ID, From_meas and To_meas fields, and then to display hatches and labels along the routes at various intervals.
I was then given access to a Location Referencing license and expected to start editing my routes using tools on the Location Referencing tab of the ribbon. It was then that I came to realize that Location Referencing is much more than a new name for Linear Referencing (and Dynamic Segmentation), and that I would need to create an LRS dataset before I could even see the Location Referencing tab of the ribbon. I used the Create LRS geoprocessing tool from the Location Referencing Toolbox to create an empty LRS dataset, and can now see the Location Referencing tab of the ribbon. However, I've not been able to use that to even digitize a simple test route so I'm turning my attention to whether I can use either a route feature class in a file geodatabase created from a line feature class with a Route_ID, From_meas and To_meas fields, or the line feature class itself to create an LRS dataset.
Is there any documentation or help available here that could guide me through the steps to do that?
I think these bits of information about my situation may be relevant:
In an attempt to work my way through where I'm stuck I developed some ArcPy code to illustrate it and posted that as Creating LRS dataset from line feature class with route IDs, from and to measures using ArcGIS Pro -.... However, that effort has so far been unsuccessful.
- Graeme
Hi Graeme,
I'd suggest taking a look at the documentation for Roads and Highways as it walks through configuration as well as the common editing workflows.https://pro.arcgis.com/en/pro-app/latest/help/production/roads-highways/what-is-roads-and-highways.h...
One thing to be aware of is Roads and Highways is powered by services, so you won't be able to utilize many of the route and other editing tools on our ribbon without having a service published from an enterprise geodatabase.
Nathan
ArcGIS Roads and Highways team
Thanks for getting back to me Nathan
I've been poring over that documentation between tests over the last week and had settled on an implementation strategy of:
Are you thinking that my strategy needs to be overhauled?
- Graeme
I am still stuck on this and my testing has moved onto the code and error messages seen at Ensuring that polyline feature class and LRS Network have same XY Resolution using ArcPy, ArcGIS Pro...
I am hoping that the Roads and Highways documentation can be improved to provide a recipe for converting a polyline feature class with fields for route identifiers, from measures and to measures into routes in an LRS Network . My attempt at that, which is represented by the code at the link above, includes these steps:
That seems straightforward enough in theory but I have not been able to succeed in doing it using either the GUI or ArcPy code yet.
This doesn't address your question, but if you're ever looking for a sample script for editing M-values using Arcade, then these might help:
And here's an ArcPy script:
For context, here's how we use linear referencing in my organization (ArcMap 10.7.1):
Cheers and good luck.
(This somewhat-related post might be of interest: GP tool to batch-replace geometries from one FC to another (via related IDs)
Hi Graeme,
I'd suggest taking a look at the documentation topic we have about tolerance resolution settings for your LRS feature classes https://pro.arcgis.com/en/pro-app/latest/help/production/roads-highways/tolerance-and-resolution-set.... The short version is that all of the minimum schema, networks, and events are interconnected so having the same XYZ tolerances/resolutions is critical. This includes your source route data used in Append Routes having the same XYZM tolerance/resolution as the LRS Network it's being loaded into. I'd verify your XYZM tolerance and resolutions between your source data and LRS Network match. If they don't, they'll need to be in alignment in order for the Append Routes tool to execute successfully.
Nathan
ArcGIS Roads and Highways team
Hi Nathan
I've managed to avoid the XY tolerance/resolution issue by rearranging my test code into something much simpler that I've placed at Appending Routes from Polyline Feature Class into LRS Network says duplicate route IDs with overlapp...
It's now a much simpler set of steps:
1. Create LRS
2. Create "route-ready" polyline feature class in the LRS dataset
3. Create LRS Network
4. Append Routes
Unfortunately, I'm getting an error on that last step. Is this something that you may be able to help with?
"The following duplicate route IDs with an overlapping time representation were found in the source data. A route ID must only have one representation at a given point in time."