I am trying to calculate the area and percentage of overlap between polygons for multiple pairs. For example, I have 5 polygons and I want to calculate the area and percentage of overlap for each combination of pairs. Is there a way I can run a function including all polygons (shapefiles) and get a matrix output showing the values for each pair? I would like to get an output like this:
overlap poly 1 poly 2 poly 3 poly 4 poly 5
poly 1
poly 2
poly 3
poly 4
poly 5
The formula I use to calculate percentage of overlap for a pair of polygons is the following:
AreaOverlap/(SQRT(AreaPolyA*AreaPolyB))
Thanks!
