Given a road layer and a county layer. I need to know the mileage of roads by road name in each county.

How can I do that?

  • Are you a python user? – CwecU Nov 9 '16 at 17:45
  • I am a newbie for python. Know a little bit. – fishbone Nov 9 '16 at 18:20
  • intersect, dissolve by county name and within that dissolve tool add field and calculate sum of shape area – ziggy Nov 11 '16 at 19:21

Look at this question : Calculating line segment lengths within polygon using ArcGIS Desktop?

and this one : Calculate line distances inside of polygons using ArcGIS for Desktop?

Both of them have good answers.

  • Thanks for the answer. I have looked at them before I posted the question but I will take a closer look. – fishbone Nov 9 '16 at 18:19
  • I think both of them want the total line length within a polygon which is different. My question is to calculate the percentage of each line record within each of those polygons that intersected... – fishbone Nov 9 '16 at 18:27
  • 1
    Then a work around will be: to get the lengths of the lines that intersected the polygons in column, get the overall length of the lines in another column and then you can work out the percentage! – CwecU Nov 9 '16 at 19:25
  • Not really. I have many line records and each one of them need to do the analysis separately. In your method, I will need to use each line record as a separate layer in order to do that..that is impossible for me to run the anlaysis – fishbone Nov 9 '16 at 21:20
  • 1
    Using either Union or Intersect, with the source line length as an attribute in the line table is the canonical solution. – Vince Nov 9 '16 at 21:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.