Hi. I'm looking to create a route event source layer as described in the ProConcepts documentation under Linear Referencing: https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Linear-Referencing#route-event-source
As a first step in the workflow, when I go to specify the route information.....
RouteInfo routeInfo = new RouteInfo(routesFeatureClass, routeIdFieldName);
.....I get an error: "The route identifier field <MyFieldName> is an invalid type". My route id field (which is passed to the RouteInfo constructor as a string identifying the field by name) is of type 'double'. Are only integer field types accepted in this case? It doesn't mention this in the API documentation. The same error occurs when implementing event info using the LineEventInfo class - it does not accept fields of type 'double'.
If I use the geoprocessing tool Make Route Event Layer, the Route Identifier Field states the field can be numeric, text, or GUID. Fields of type 'double' are accepted in this case.
Thank you!
Thanks for looking into this. Much appreciated!