I generated routes from our counties road data and split them every .25 mi. Is there a way to generate beginning milepost and ending milepost information for each split segment as an attribute?
Solved! Go to Solution.
Hello Anthony,
Assuming you use a GP tool like Multi-Part To Singlepart to explode any of your multi-part route (polyline M) features, you could add FromMeasure and ToMeasure fields (data type: double) to your route feature class. Once you have your fields, use the Field Calculator (python) to compute the measures where your FromMeasure = !Shape!.extent.MMin and ToMeasure = !Shape!.extent.MMax.
Thanks
Amit@esri
Hello Anthony,
Assuming you use a GP tool like Multi-Part To Singlepart to explode any of your multi-part route (polyline M) features, you could add FromMeasure and ToMeasure fields (data type: double) to your route feature class. Once you have your fields, use the Field Calculator (python) to compute the measures where your FromMeasure = !Shape!.extent.MMin and ToMeasure = !Shape!.extent.MMax.
Thanks
Amit@esri
I just got back to this project and had time to test your solution and It worked perfectly.
Thanks!