Is there a way to use a search cursor in ArcGIS to read the minimum measure and maximum measure values of a linear referenced route layer using arcpy? My goal is to build a route event using the start and end points of line segments but cannot figure out how to retrieve this data other than using the Identify Route Location Tool in ArcMap. I would like to get that type of information but using python.
There are few very basic steps to follow:
- Get value from shape field
- Get it's part
- Iterate through elements (points) in this part, where you can access all of the point's properties, i.e. X, Y, Z and M.
See if field calculator solution helps
Also note that behaviour of Python in calculator and script is slightly different