Select features using spatial relationships


Purpose This sample demonstrates how to use a spatial filter and the relation enumerator to select features based on the existence (or lack of existence) of intersections between the interior, exterior, and boundary of a search graphic and the members of a feature class. By adjusting the tested relationships, all the other spatial relation enumerators can be duplicated and other relationships explored.
 
This application uses the following information:

Location of an input dataset
Name of the input dataset


How to use

See How to use ArcGIS samples for help running the sample.

  1. Run the application Results are written to the console.





Additional Requirements
  • US States and Counties data (recommended)

Development licensing Deployment licensing
Engine Developer Kit Engine Runtime
ArcView