Milepost information of split routes?

561
2
Jump to solution
11-05-2019 10:51 AM
by Anonymous User
Not applicable

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? 

0 Kudos
1 Solution

Accepted Solutions
AmitHazra
Esri Contributor

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

View solution in original post

0 Kudos
2 Replies
AmitHazra
Esri Contributor

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

0 Kudos
by Anonymous User
Not applicable

I just got back to this project and had time to test your solution and It worked perfectly.

Thanks!