spatial difference

1158
5
Jump to solution
12-13-2016 05:54 AM
johnwoollett1
New Contributor II

I have two features consisting of polygon shapes. How can I run a query that gives me the areas in one feature that do NOT overlap areas in the other feature.

Thanks

1 Solution

Accepted Solutions
AdamZiegler1
Esri Contributor

Hi John - I would do this process separately for each feature class.

  1. Select all the features in feature class A
  2. Use Select by Location
    1. Set Selection Method to 'remove from the currently selected features in'
    2. Target layer: feature class A
    3. Source layer: feature class B
    4. Spatial selection method: 'intersect the source layer feature'
  3. The results are the features in feature class A that do not overlap feature class B
  4. You could right click on the layer in the TOC and choose 'Selection' --> 'Create layer form selection' which will preserve the featues in their own layer, so that you can perform the same steps on feature class B

Hope this helps,

Adam Z

View solution in original post

5 Replies
JayantaPoddar
MVP Esteemed Contributor

Are you using ArcGIS Desktop? Then you are looking for Erase.



Think Location
johnwoollett1
New Contributor II

I am using ArdGIS desktop, I am not looking to erase, just get a list of polygons from two feature classes that do not overlap

JayantaPoddar
MVP Esteemed Contributor

Maybe you would like to Select By Location, the features from Polygon1 which overlap with Polygon2. Then Switch Selection to get the non-overlapping polygons. You could export the attribute table with the selected features to get the list of tables.

Repeat the same for Polygon2 as well.

I think, this can also be automated using Python.



Think Location
AdamZiegler1
Esri Contributor

Hi John - I would do this process separately for each feature class.

  1. Select all the features in feature class A
  2. Use Select by Location
    1. Set Selection Method to 'remove from the currently selected features in'
    2. Target layer: feature class A
    3. Source layer: feature class B
    4. Spatial selection method: 'intersect the source layer feature'
  3. The results are the features in feature class A that do not overlap feature class B
  4. You could right click on the layer in the TOC and choose 'Selection' --> 'Create layer form selection' which will preserve the featues in their own layer, so that you can perform the same steps on feature class B

Hope this helps,

Adam Z

JoshuaBixby
MVP Esteemed Contributor

If you use the Select Layer By Location tool instead of the Select By Location dialog, there is an invert_spatial_relationship parameter you can use to do what you want in a single step.