Given a polygon feature class or layer containing overlapping polygons, creates a new feature class with the overlaps removed and the number of overlapping polygons.
Input Features is a polygon feature class or layer containing overlapping polygons.
If you have individual feature classes that you want to count overlaps for, use the Merge tool to merge the individual feature classes into one feature class.
Note: This tool will output the warning message 000117 "Warning empty output generated". You can ignore this warning.
Methodology:
Feature to Polygon converts the overlapping polygons to non-overlapping polygon. All polygon intersections become the polygons in the output. An empty label features is used to limit the attrbritutes in the output feature class.
Feature to Point gets the centroids from the non-overlapping polygons. These centroids are used in Spatial Join because spatial join is much faster with points.
Spatial Join counts how many of the original polygons overlap the centroids.
Join Field is used to join the count attribute to the non-overlapping polygons.
All features with count = 0 are selected and deleted. These are the gaps between polygons.
Parameter | Explanation |
---|---|
Input_Features | Input polygon feature class with overlapping polygons. |
Output_Feature_Class | Output polygon feature with the count of overlapping polygons. The feature class has one attribute, Join_Count, containing the number of overlapping polygons. |
There are no code samples for this tool.
Count overlapping polygons, overlap, overlay
There are no credits for this item.
There are no use limitations for this item.