Using the ArcGIS Pro SDK, how can I return a list of polygon features that intersect a feature in another layer but exclude those that just share a boundary. In addition, I would need to return any polygon that is spatially equivalent to the intersecting feature. I don't not want to change the selection set on the map, I just need a list. Thanks
Have you looked into the options from SpatialRelationship property of SpatialQueryFilter?
If the available preset options are insufficient, you should create a Relate string following Dimensionally Extended Nine-Intersection Model (DE 9IM) and pass it to the SpatialQueryFilter as in the snippet.
Thank you for the response. We are working at 3.04 until some bug fixes are released. This approach appears for 3.1 and above. Is there alternative for 3.0?
it works in 3.0 (and 2.x as well for that matter)
Any idea why I can't access Relation or SpatialRelationshipDescription ?
fully qualify SpatialRelationship. Something in your code is conflicting with it
I have attempted that. I don't see it listed in the 3.0 documentation either.
https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic6828.html
yes, i agree, looks like that particular enum value is not part of the GDB at 3.0.