# Determining coverage of polylines within polygon using ArcGIS Desktop?

Is there a way to calculate the coverage of polylines within a polygon when there are overlapping lines and parallel lines?

I am working on finding route coverage of gps traces within a centerline route buffer, but ran into the issue of having multiple traces that run alongside each other, overlap, or have gaps. The result is numerous short polylines within the route polygon and no way of calculating if the lines provide full coverage of the route extent. For example, I have a route polygon that is 27 miles long, and has 56 polylines within it and the sum of the lines are 126 miles.

I am using ArcMap 10.5, advanced license. I am not using Network Analyst or any other extensions. I am cutting gps traces to a buffer of a route centerline shapefile. The gps traces gets cut at the start and end of a route, I then calculate the length and mileage of the section via the m-values of the line. The issue is that there are numerous traces in each route polygon, and no way to find out if the length of the original route (polygon) is covered due to gaps in coverage and no continuous coverage of a single gps trace.

I am looking for coverage parallel to the X axes. So just the overall length coverage that the lines provide within the polygon, total length covered rather than total sum of all lines.

• Are you using ArcGIS Network Analyst to calculate your routes? What is the precise workflow (all tools and parameter values) that you are using to try and do this? In your workflow where precisely do you get stuck? I suspect that a more simplified picture, and some tables might help clarify a single question that you wish to ask.
– PolyGeo
Jun 17, 2018 at 23:06
• What would you want to record under this scenario? Your route polygon is 27 miles. You have a gps track lets says starts at 0 miles and terminates at 10 miles. There is a 1 mile gap then a new gps tracks starts at 11 and terminates at 15 miles, Is is the maximum distance (15 miles) or the distance 14 miles? And what if there was a further GPS which starts at 13 miles and ends at 20? Edit your question to demonstrate what exactly the final answer you are seeking as I can read your question in one two ways. Jun 18, 2018 at 9:04
• You might experiment with Integrate to snap the lines together, then Dissolve to merge the stacked lines into a single line. Jun 19, 2018 at 21:11
• @ klewis, this worked! I was able to get the total length of the line coverage, thanks! Jun 20, 2018 at 20:07