This internal function is used to check whether a delineated polygon intersects any other delineated polygons. It will report the polygon it overlaps and the proportion of area which overlaps.

polygon_self_intersection(polygon, all_polygons, self_id)

Arguments

polygon

the polygon to be checked

all_polygons

a SpatialPolygonDataFrame as calculated from the merge_delineated_polygons function

self_id

the ID of the polygon being assessed. This makes sure that the polygon excludes this file

See also

merge_delineated_polygons