Select By Location
Keeps the features of a layer that meet a spatial relationship with another layer's features.
Pitfall. Features are kept whole, not cut to the mask (that is clip).
| Also called | Extract By Location, spatial filter, select features by location |
|---|---|
| Group | vector/selection |
| Checks | crs.agreement |
| Pitfalls | 1 listed above |
| Columbus tool | Not stated |
| Notes | Not stated |
| Status | active |
| Broader | Not stated |
| Narrower | Not stated |
| Related |
Parameters
| Name | Type | Required | Default | Values | Note |
|---|---|---|---|---|---|
predicate | enum | no | intersects | intersects, within, contains, touches, crosses, overlaps, disjoint | Not stated |
Inputs and outputs
| Direction | Name | Type | Geometry | Note |
|---|---|---|---|---|
| Input | layer | vector | Not stated | Not stated |
| Input | mask | vector | Not stated | Not stated |
| Output | output | vector | Not stated | Not stated |
In each engine
| Engine | Tool | Parameters | Differences |
|---|---|---|---|
grass | v.select |
|
|
qgis | native:extractbylocation |
|
|
sf | sf::st_filter |
|
|