Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So how do I do that? ArcMap's Select By Location selects also all features that touch, but I only need the ones that actually intersect the area.

I currently use esriSpatialRelEnum.esriSpatialRelIntersects and there doesn't seem to be an option for what I need. esriSpatialRelOverlaps isn't an option because it doesn't cover the case when the geometries are excatly the same size and over each other. esriSpatialRelCrosses also doesn't work because it doesn't support Area/Area intersection.

So is this possible at all?

share|improve this question
up vote 5 down vote accepted

You should use esriSpatialRelEnum.esriSpatialRelRelation instead and set the SpatialRelDescription property to pSFilter.SpatialRelDescription = "T***F****". This will only return the features that have the interiors intersecting.

share|improve this answer

This probably should be a comment, instead of an answer, but I can't include images in comments.

The help page for Using Select by Location says:

A target feature will be selected if the intersection of its geometry with the source feature is nonempty, but the intersection of their interiors is empty. This is the definition of the Clementini touch operator, so if the target feature touches (as defined by Clementini) the source feature, it is selected.

But the image on the right (incorrectly?) shows that a polygon with an intersecting interior is selected - the middle yellow polygon is outlined with cyan, when it shouldn't be.

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.