
To be selected, all parts of the target feature must completely contain the geometries of the source feature. This is the inverse of the operator "Are within." Finding features that contain point features Finding features that contain line features Finding features that contain polygon features Completely contain
For example, a polygon representing the United States contains the state of Texas and is selected even though they share common boundaries along their southern borders. To be selected, the geometry of the source feature must fall inside the geometry of the target feature including its boundaries. The highlighted cyan features are selected because they are completely within the red features. The source feature must be a polygon, or you must apply a buffer around point and line features to use this operator. This operator is the reverse of "Completely contain." See more below. In the target layer of counties, Dallas County is selected (along with other counties) because it falls completely within Texas. This would be true for all counties that do not fall along Texas's boundary. For example, in a target layer of counties, Dallas County is selected because it falls within the source polygon of Texas. To be selected, all parts of the target features must fall inside the geometry of the source feature(s) and cannot touch the source's boundaries. Finding features that are within (contained by) point features Finding features that are within (contained by) line features Finding features that are within (contained by) polygon features Are completely within Selected features and source features can have overlapping boundaries.įor example, using this operator, the state of Montana is selected even if it shares boundaries with the United States. To be selected, the geometry of the target feature must fall inside the geometry of the source feature. The highlighted cyan features are selected because they fall within the selected distance of the red features. For example, select cities within 100 meters of a river or railroad. This operator creates buffers using the buffer distance around the source features and returns all the features intersecting the buffer zones.
"Are within a distance of" when specifying no buffer or a buffer distance of zero. "Are identical to" when comparing point features. There are a few other operators that are equivalent to intersect in specific cases. Intersect returns any feature that either fully or partially overlaps the source feature(s). In the diagrams, selected features are highlighted in cyan where they intersect, touch, or are contained within the red source features, and so on. The Source layer is the layer whose features are used to determine the selection based on its spatial relationship to the target. In these descriptions, the Target layer is the layer in which features are selected. The following spatial query methods are supported using Select By Location. Use a buffer distance in your search (buffer distances are only used with some selection options). Use selected features in the source layer to identify the features to select. To complete your Select by Location specification, you can optionally specify if you want to. Specify the source layer that will be used to select features from the target layer. See Types of supported spatial queries below for an overview of the selection options.
Choose the spatial relationship rule that will be used for selection. Identify the target layer(s) from which features will be selected and check them on ( ). Click the drop-down arrow to see your choices. Choose the type of selection that you want to make. Click Selection > Select By Location to open the Select by Location dialog box. For example, select features from USA Counties that touch the boundary of the features in the layer named "Texas." The dialog box guides you in specifying each selection property. Note that you select features from a layer (or a set of layers) that have a spatial relationship with features from a source layer. Use the following steps to apply the Select By Location tool. You can use a variety of selection methods to select the point, line, or polygon features in one layer that are near or overlap the features in the same or another layer. For instance, if you want to know how many homes were affected by a recent flood, you could select all the homes that fall within the flood boundary. The Select By Location tool lets you select features based on their location relative to features in another layer.