Experimental

Extracts target features that satisfy a spatial relationship to query features.

vector query spatial

## Parameters

Name | Description | Required | Default
--- | --- | --- | ---
`target` | Target feature layer to filter. | Required | `target.shp`
`query` | Query feature layer. | Required | `query.shp`
`predicate` | Spatial predicate: intersects, within, contains, touches, crosses, overlaps, disjoint, within_distance. | Required | `intersects`
`distance` | Distance threshold for within_distance predicate. | Optional | —
`output` | Output vector path. | Required | —

## Examples

Selects target features that intersect query features.

    wbe.select_by_location(output='selected.shp', predicate='intersects', query='query.shp', target='target.shp')

## Project Links

WbW Homepage User Manual Support WbW