Exercise – 14 / Select by Location in QGIS
Select by Location
Spatial queries are core to many types of GIS analysis. Spatial queries allow you to select features in a layer by their spatial relationships (intersect, contain, touch etc.) with features from another layer.
The criteria for selecting features is based on the spatial relationship between each feature and the features in an additional layer.
- Add Polygon/Line/Point Layer to Layers panel
Figure 153 - QGIS canvas with Line, point & polygon layers loaded
- Choose Vector → Research tools → Select by Location
- Select features from (Line / Point / Polygon) for selection
- Choose the relationship with other features from other layer with intersect, contain, touch, with in etc.
- Select comparing feature.
- Select options from modify current select by
- create new selection
- add to current selection
- selecting within current selection
- removing from current selection
- Click on Runand close select by location window to see the selection of point which are with in polygons.
Note: Process of Select by Location for Line & Polygon remains the same.
Figure 154 - Select by location window
Figure 155 - Points which are within polygon layers are selected
Comments
Post a Comment