Calculating M Values for each vertex in the line

518
1
12-11-2012 06:33 AM
VikramS
Occasional Contributor
All ,

I want to calculate the m value for each vertex in the line .. Currently I am calculating the m Value based on the distance between the current point and its previous point and storing it .. Is there a faster approach rather than iterating each point in the line using the Update Cursor and calculating m Value .. any help much appreciated
Tags (2)
0 Kudos
1 Reply
AnthonyTimpson2
Occasional Contributor
I may be wrong here but i think you can avoid calculating them at all if you use the Linear Referencing Tool -> Create Routes

it will take your line features and export a routed line with M Values populated.

it can be a bit fiddly if you have Vertical line segments or extreme variations in Z.

Also, See this post

http://forums.arcgis.com/threads/73312-Reg-Create-Route-Tool
0 Kudos