Coverage of Polylines Within a Polygon

1513
2
Jump to solution
06-17-2018 03:45 PM
MelissaCarrillo
New Contributor II

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. Is there a way to get a mileage total of the lines without summarizing the overlapping/parallel lines also? 

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. 

I am using ArcMap 10.5, advanced license, no extensions (Network Analyst) being used.

Overlapping polylines within a polygon

0 Kudos
1 Solution

Accepted Solutions
MelissaCarrillo
New Contributor II

I was able to figure this out via a suggestion to try using Integrate to snap the lines together, then Dissolve to merge the stacked lines into a single line. This allowed me to get the total length the lines covered. 

View solution in original post

0 Kudos
2 Replies
DanPatterson_Retired
MVP Emeritus

From your simple example, it looks like you need to select/clip the polylines then obtain the min and max points of each polyline.  Taking the min and max of those should give you the horizontal and vertical coverage.  This suggestion differentiates itself from obtaining the start and end point as in the case of a purely horizontal set of lines as shown in your 2nd image (ie… consider all lines forming parallel L 's or I 's.

You might want to clarify whether you 'coverage' needs are solely parallel to the X and/or Y axes

0 Kudos
MelissaCarrillo
New Contributor II

I was able to figure this out via a suggestion to try using Integrate to snap the lines together, then Dissolve to merge the stacked lines into a single line. This allowed me to get the total length the lines covered. 

0 Kudos