How to find a point along a line at a specific measure using the Pro SDK

75
2
08-17-2018 07:07 AM
Highlighted
New Contributor

Need to be able to find a point along an M-enabled line at a specific measure.

Reply
0 Kudos
2 Replies
Highlighted
Esri Contributor

Hi Robert, 

There is currently no API in Pro for location referencing functionality, but if your measure values relate to the length of your lines or are calculated according to a start measure and end measure for the lines you should be able to do this. 

First you would need to interpolate the distance along the line that the measure value relates to.  Then you could use the GeometryEngine.Instance.QueryPoint function to obtain the point. 

ArcGIS Pro 2.2 API Reference Guide - GeometryEngine QueryPoint 

Hope this helps. 

Narelle

Reply
0 Kudos
Highlighted
New Contributor

Thanks Narelle, that should do what I need.

-bob

Reply
0 Kudos