+ Reply to Thread
Results 1 to 3 of 3

Thread: Overlapping polygons: cover percentage

  1. #1
    Massimo Ometto
    Join Date
    Jul 2011
    Posts
    7
    Points
    0
    Answers Provided
    0


    0

    Default Overlapping polygons: cover percentage

    I have thousands of polygons in the same shapefile. They overlap in many ways and percentages. I need to find out, for each polygon, the percentage of its surface covered by other polygons.
    If possible, it would be interesting also to know which polygon overlaps to each other.


    Thanks

  2. #2
    mark denil
    Join Date
    Apr 2010
    Posts
    523
    Points
    292
    Answers Provided
    37


    0

    Default Re: Overlapping polygons: cover percentage

    Normally, I would suggest extracting each polygon into a separate layer and then unioning the lot. The table would tell you which polygons overlapped, and by how much. Doing it as a file Geodatabase would automatically generate the areas and be easier to handle than individual shapefiles.

    However, with "thousands" of overlapping polys, the resulting table will be quite wide.
    It may be better to automate an extraction and analysis loop in python:
    - select a polygon, and get its area
    - select all polygons overlapping that selected one, and make a list of their FIDs
    - export the identified overlapping polys to separate feature classes (select them by their FID)
    - union the exported polygon feature classes (or use Identity, if you have ArcInfo)
    - extract the desired information from the unioned FC table (total area of overlap) and write it, along with the list of overlappers and the original polygon's area) to a new record in a stand-alone table
    - calculate the percentage of overlap area to original polygon area in that record
    - delete the union and intermediate FCs
    - select the next polygon in your original file and do it again

    It gets more complex if you want the amount or percentage each polygon overlaps the target...

    Mark Denil

  3. #3
    Dale Honeycutt

    Join Date
    Nov 2009
    Posts
    326
    Points
    204
    Answers Provided
    25


    0

    Default Re: Overlapping polygons: cover percentage

    Let's assume your feature class is called "MyPolys".
    Run the Intersect tool. You'll have only one input feature class, MyPolys. This will create a new feature class with the default name of "MyPolys_Intersect".

    Open the attribute table of MyPolys_Intersect and sort it on the FID_MyPolys field (the original object id of MyPolys). You'll see that there are multiple entries for each original MyPolys polygons.

    To calculate percentage overlap, you'll want to add a field containing the original area of the MyPolys polygon. Use the Join Field tool for this. Your input table is MyPolys_Intersect, the Input Join Field is FID_MyPolys, the join table is MyPolys, and the Output join field is OBJECTID. For fields to join, choose Shape_area.

    After Join Field executes, you'll have a shape_area field and a shape_area_1 field. (If you're viewing the table in arcmap, turn field aliases off... both these fields have an alias of "shape_area".

    You're ready finish your calculation of percent overlap. Use Add Field to add a new field called "Percent_overlap". Use Calculate Field to calculate Percent_overlap = shape_area / shape_area_1.

    If you want more information, such as the IDs of the overlapped polygons, run Intersect, but enter MyPolys twice. This will overlay MyPolys on top of itself. The output table table will list each unique combination of overlaps. You'll want to ignore any entry that lists itself. That is, select for FID_MyPolys <> FID_MyPolys_1
    Last edited by dmhoneycutt; 07-22-2011 at 05:51 PM.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts