azendel

Is there no esriSpatialRelEnum equivalent to 'if centroid falls within?'

Discussion created by azendel on Aug 17, 2010
Latest reply on Jan 15, 2015 by MHArcGISOnline
I need a programatic way to select polygons whose centroid are inside a search polygon.  But looking up esriSpatialRelEnum in the help files doesn't seem to give that option.   esriSpatialRelWithin and esriSpatialRelContains will not work in my case. 

Using ArcObjects, is there another way to do this spatial selection other than ISpatialFilter:SpatialRel = <one of the esriSpatialRelEnum values> ?????

Thanks!

AZ

Outcomes