Select to view content in your preferred language

Linear Referencing in ArcGIS Enterprise SDK SOE

83
0
a week ago
anbinh
by
Frequent Contributor

Hi all,

I'm currently working on rewriting a legacy SOE (originally built using ArcObjects SDK 10.1) using the ArcGIS Enterprise SDK (Java) for compatibility with ArcGIS Enterprise 11.3.

In the original SOE, IRouteLocator and IRouteLocator2 from the com.esri.arcgis.location package was used to locate geometry from route and measure values for linear referencing. Specifically, locate and identify functions from IRouteLocator.  

In exploring the ArcGIS Enterprise SDK, I noticed that there's an IRouteLocatorName interface in the com.esri.arcgis.geodatabase package. However, I can't find the IRouteLocator2 equivalent or any clear alternative to perform route-measure based locating or identifying.

Also, I noticed that the Locator class in the Enterprise SDK has a getCategory() method which can return "Route Event", which suggests that linear referencing is still supported in some form.

Can anyone clarify:

  • What is the recommended approach to perform linear referencing (e.g. locate geometry by route and measure) using ArcGIS Enterprise SDK?

  • Is there a replacement for IRouteLocator2, or a new pattern to achieve the same functionality?

Any guidance or documentation references would be greatly appreciated!

Thanks in advance.

Tags (2)
0 Kudos
0 Replies