topic Calculating spatial overlap percentage between polylines of a shapefile in Data Management Questions
https://community.esri.com/t5/data-management-questions/calculating-spatial-overlap-percentage-between-polylines-of-a/m-p/525336#M29828
<HTML><HEAD></HEAD><BODY><SPAN>Original User: banbar86</SPAN><BR /><BR /><SPAN>Dear All,</SPAN><BR /><BR /><SPAN>I have a shape file consisting of N polylines, and some of these lines spatially overlap. What I need to do is to determine the percentage of spatial overlap between these N poylines. The output should look like an M = N*N matrix, and each matrix element corresponds to the percentage of spatial overlap between the corresponding polylines. The percentage of spatial overlap is calculated as: length of overlapping polyline / total length of the polyline.</SPAN><BR /><BR /><SPAN>For example, in the attached example there are two polylines, A and B, which spatially overlap as shown in red circle. Suppose that the length of A is 3x and B is 4x, and the length of overlapping poyline is x. Then, matrix element M(A,B) = x / 3x = 0.3, and M(B,A) = x / 4x = 0.25. Since A and B do not spatially overlap with other polylines remaining values of row A and B should be all zero. </SPAN><BR /><BR /><SPAN>So far I checked </SPAN><A href="http://www.spatialecology.com/gme/index.htm">GME </A><SPAN>and </SPAN><A href="http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?TopicName=How+Intersect+%28Analysis%29+works">intersection tool</A><SPAN> within ArcGIS, but could not figure out the solution (i.e. GME does not have such a function, and with intersection I cannot keep the percentage overlap information). Any help will be greatly appreciated.</SPAN><BR /><BR /><BR /><SPAN>Regards,</SPAN><BR /><SPAN>Berk</SPAN><BR /><BR /><SPAN>[ATTACH=CONFIG]20881[/ATTACH]</SPAN></BODY></HTML>Sat, 19 Jan 2013 21:05:16 GMTAnonymous User2013-01-19T21:05:16ZCalculating spatial overlap percentage between polylines of a shapefile
https://community.esri.com/t5/data-management-questions/calculating-spatial-overlap-percentage-between-polylines-of-a/m-p/525336#M29828
<HTML><HEAD></HEAD><BODY><SPAN>Original User: banbar86</SPAN><BR /><BR /><SPAN>Dear All,</SPAN><BR /><BR /><SPAN>I have a shape file consisting of N polylines, and some of these lines spatially overlap. What I need to do is to determine the percentage of spatial overlap between these N poylines. The output should look like an M = N*N matrix, and each matrix element corresponds to the percentage of spatial overlap between the corresponding polylines. The percentage of spatial overlap is calculated as: length of overlapping polyline / total length of the polyline.</SPAN><BR /><BR /><SPAN>For example, in the attached example there are two polylines, A and B, which spatially overlap as shown in red circle. Suppose that the length of A is 3x and B is 4x, and the length of overlapping poyline is x. Then, matrix element M(A,B) = x / 3x = 0.3, and M(B,A) = x / 4x = 0.25. Since A and B do not spatially overlap with other polylines remaining values of row A and B should be all zero. </SPAN><BR /><BR /><SPAN>So far I checked </SPAN><A href="http://www.spatialecology.com/gme/index.htm">GME </A><SPAN>and </SPAN><A href="http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?TopicName=How+Intersect+%28Analysis%29+works">intersection tool</A><SPAN> within ArcGIS, but could not figure out the solution (i.e. GME does not have such a function, and with intersection I cannot keep the percentage overlap information). Any help will be greatly appreciated.</SPAN><BR /><BR /><BR /><SPAN>Regards,</SPAN><BR /><SPAN>Berk</SPAN><BR /><BR /><SPAN>[ATTACH=CONFIG]20881[/ATTACH]</SPAN></BODY></HTML>Sat, 19 Jan 2013 21:05:16 GMThttps://community.esri.com/t5/data-management-questions/calculating-spatial-overlap-percentage-between-polylines-of-a/m-p/525336#M29828Anonymous User2013-01-19T21:05:16Z