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

174
2
08-17-2018 07:07 AM
RobertWarford
New Contributor

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

0 Kudos
2 Replies
NarelleChedzey
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

0 Kudos
RobertWarford
New Contributor

Thanks Narelle, that should do what I need.

-bob

0 Kudos