ArcMap 10.7.1 — Oracle 18c EGDB — SDE.ST_GEOMETRY
I have existing SDE.ST_GEOMETRY polylines that have M-values (aka 'measure values' for linear referencing purposes).
I want to update the M-values for all the lines via an ArcPy script.
In my case, the M-values of lines should be the same as the cumulative length of the line. In other words, if we look at the image below, the M-values should be the same as the length of the line at a given vertex.
Using ArcPy, is there a way to set the M-values to the cumulative length of the line?
Note: Some of the lines have arcs. And some of the lines are multi-part.
Python: Working with Feature Data using ArcPy [YouTube Video from ESRI]