Hi Community,
We started using an event point layer with stationing fields enabled, so we would be able to use the stationToGeometry and geometryToStation services. These are, however, not working as expected.
This is what we tried so far:
- We added a point event layer with stationing fields enabled. The Station field contains the value as found on km-posts, the BackStation field contains the value of the previous Station, the StationDirection field is empty. The station values are increasing with increasing measure on the routes.
- We appended the events to the station event layer, all resulting in NO ERROR:


- This example shows 2 routes (0=60=1 and 0=60=2) that got stationing points, here showing 128+0100 till 128+0301 station values
- After appending the Station events, I can confirm that the events got m-values.
We can use geometryToMeasure, which is giving the expected results:

If I use the same input geometry for geometryToStation it is giving me a CannotFindLocation error, while I am expecting stationing values on both routes 0=60=1 and 0=60=2, somewhere between 128+0200 and 128+ 0300.

I also tried with a reference to a routeId ([{"routeId":"0=60=1","geometry":{"x":545498,"y":6188255}}]) without using a tolerance. But this is giving the same error.
Playing around a bit with different routes, geometry and tolerance values, suddenly I got result:

But I cannot reproduce the same result. I am suspecting that are setup might be wrong, but I cannot find in Esri's documentation what we are doing wrong, or how exactly we should use the stationing fields.
I hope there is anyone out there that could help solving this issue. If something is unclear in the explanation of our workflow, please let me know.
Thanks in advance,
Mirek