laptop and a wrench

Bug

ISelectionSet.Search (SpatialFilter, blnRecycling, ref Cursor) with SpatialFilter.SpatialRel of Contains returns Cursor that incorrectly includes empty geometry features when SelectionSet includes said empty geometry features from an ArcSDE geodatabase.

Last Published: October 17, 2017 ArcGIS for Desktop
Bug ID Number NIM066036
SubmittedMarch 16, 2011
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found9.3.1
Program languageC#
Operating SystemWindows OS
Operating System VersionXP
StatusWill Not Be Addressed

Additional Information

This defect was submitted for a release of ArcGIS that is no longer supported. If this is still an issue in a supported release please contact Technical Support.

Workaround

Add a WhereClause to the SpatialFilter that explicitly excludes zero-area polygons: ISpatialFilter.WhereClause = "SHAPE.area > 0";

Steps to Reproduce

Bug ID: NIM066036

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options