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})
Parameter | Explanation | Data 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 Type | Explanation |
Double | A distance or percentage. |
That would be helpful for linear referencing purposes.