measureOnLine() function in Arcade

207
0
03-02-2022 08:41 PM
Status: Open
Labels (1)
Bud
by
Notable Contributor


Could Esri consider adding a measureOnLine() function to Arcade?

Returns a measure from the start point of the line to the in_point.

measureOnLine (in_point, {use_percentage})
ParameterExplanationData Type
in_point

A point that is used to measure from the start point of the polyline.

Point
use_percentage
 

If False, the measure will be returned as a distance; if True, the measure will be returned as a percentage.

(The default value is False)

Boolean


Return Value

Data TypeExplanation
Double

A distance or percentage.

 

That would be helpful for linear referencing purposes.