[GIS] Counting and rasterizing polygon overlaps in ArcGIS Desktop

arcgis-10.0arcgis-desktopoverlapping-featuresraster

How do you take a vector layer with overlapping polygons and turn it into a raster where each cell counts the number of polygons containing that cell?

We are looking at polygons of fire burn areas between 1976 to 2000 and want to see how many fires would be contained in each raster cell.

Best Answer

Do this in three steps: break the polygons into their component parts, count the overlaps, and convert to raster. This avoids the potentially huge computational cost of separately converting every polygon to a raster and combining those rasters.

  1. Union (in the Geoprocessing menu) breaks the polygons into their parts.

    Unfortunately, each overlap is duplicated in the output: it has one identical copy for each original polygon covering it. Therefore

  2. Dissolve (again in the Geoprocessing menu) will merge overlapping parts, provided you can find a way to uniquely identify them. Read through the dialog: towards the end, you will have an option to compute "statistics." Choose any field that may have identified the original polygons and ask for a count.

    In many cases the combination of polygon area and perimeter will uniquely identify the parts. If not, you can add more geometric properties in additional fields, such as coordinates of the centroid, until you have accumulated enough information to distinguish every feature.

    The resulting layer has one feature for each polygon overlap and some kind of "count" field counting the number of overlaps.

  3. Convert that to a raster, using the "count" field for the attributes.


For example, here are some overlapping polygons and their identifiers with the attribute table shown:

enter image description here

After the second step we have one record for each overlapping region along with a count which can already be used to symbolize the amount of overlap:

enter image description here

The rest is easy--and it's just a single rasterization operation.

Related Question