I am using ArcGIS Pro 3.0.2 to edit events in an LRS Line Network stored in ArcGIS Enterprise 11 for the first time. The LRS Hierarchy is pictured below:
I click the Add > Point Event button on the Location Referencing tab of the Ribbon to open the Add Point Event tool in the Location Referencing pane.
I click Next to go to its second page where I use the Choose route from map button to try to read the name of route BW-03ML_0087KM by pointing at it. However, that gives me an error of Route does not exist on the selected Network layer.
I know it exists because I can type the value of BW-03ML_0087KM into the Route Name field and have it accepted without a problem.
Although, I am able to easily read the route name from my map and type it in as a workaround, I am wondering whether anybody else has seen this error when trying to use the Choose route from map button?
Solved! Go to Solution.
Further investigation of this has led me to believe that the error comes not from a corrupt ArcGIS Pro project but instead from either a corrupt layerfile (which contains the Line Network, Calibration Point, Centerline and 8 chainage layers from feature services on the DEV portal) or from the technique I'm using to interact with that layerfile (which I suspect is not corrupt) when editing. I think it's the layer files I'm adding to a map rather than the original ArcGIS Pro project that's the problem because when I use them in the new project I can introduce the same error.
The "chainage layers" I mention above need some explanation. They come in two flavours. Both flavours use the Line Network as their ultimate source but are designed to display markers and text hatches at intervals of 1m, 5m, 10m, 50m, 100m, 500m, 1km and 10km with scale dependencies built into both the General tab of their layer properties and the Arcade expressions that govern whether/what text is displayed.
The two flavours are:
I need to have these chainage layers in the map to help the ArcGIS Pro route/event editors see the measures where they are editing. This seems to have worked quite well although something that has bothered me is that when I'm editing routes I have the 8 chainage layers and the actual Line Network all pointing at the same data source (i.e. the Line Network). Consequently, when the Create Route, etc tools are used the first choice which needs to be made is which of those 9 networks needs to be used. I tell the editors to choose the Line Network rather than one of the chainage layers but that whichever they choose probably does not matter.
It is only when I've started to edit events in ArcGIS Pro that the 9 layers based on feature services to the same Line Network feature class in the enterprise geodatabase seem to be confusing the Location Referencing software, and leading to the error above.
Rather than spend more time investigating what nuance may be causing the error, what I found seems to work for event (and route) editing in ArcGIS Pro is:
The bonus of doing the above is that the chainage layers are no longer included as choices for the Line Network I want to use with the Location Referencing toolbar tools.
@GraemeBrowning_Aurizon Suggest the following troubleshooting steps:
Hope this helps!
Those are all excellent ideas for what I should check:
I created a new project using the Map template and just dragged the Line Network, Calibration Point, Centerline and Event feature services into it. I checked the spatial reference had been automatically set to GDA2020 (matching the service and opened the Add Point Event tool. When I tried the Choose route from map button the Route Name and Measure fields were populated with the values that I expected. Consequently, it looks like the ArcGIS Pro project that I was using to edit originally must have become corrupted.
Your suggestions helped a lot!
Further investigation of this has led me to believe that the error comes not from a corrupt ArcGIS Pro project but instead from either a corrupt layerfile (which contains the Line Network, Calibration Point, Centerline and 8 chainage layers from feature services on the DEV portal) or from the technique I'm using to interact with that layerfile (which I suspect is not corrupt) when editing. I think it's the layer files I'm adding to a map rather than the original ArcGIS Pro project that's the problem because when I use them in the new project I can introduce the same error.
The "chainage layers" I mention above need some explanation. They come in two flavours. Both flavours use the Line Network as their ultimate source but are designed to display markers and text hatches at intervals of 1m, 5m, 10m, 50m, 100m, 500m, 1km and 10km with scale dependencies built into both the General tab of their layer properties and the Arcade expressions that govern whether/what text is displayed.
The two flavours are:
I need to have these chainage layers in the map to help the ArcGIS Pro route/event editors see the measures where they are editing. This seems to have worked quite well although something that has bothered me is that when I'm editing routes I have the 8 chainage layers and the actual Line Network all pointing at the same data source (i.e. the Line Network). Consequently, when the Create Route, etc tools are used the first choice which needs to be made is which of those 9 networks needs to be used. I tell the editors to choose the Line Network rather than one of the chainage layers but that whichever they choose probably does not matter.
It is only when I've started to edit events in ArcGIS Pro that the 9 layers based on feature services to the same Line Network feature class in the enterprise geodatabase seem to be confusing the Location Referencing software, and leading to the error above.
Rather than spend more time investigating what nuance may be causing the error, what I found seems to work for event (and route) editing in ArcGIS Pro is:
The bonus of doing the above is that the chainage layers are no longer included as choices for the Line Network I want to use with the Location Referencing toolbar tools.