clip_layer_to_extent
Clip a layer to a specified bounding box or to the extent of a reference layer, saving the result as a new layer without altering the original.
Instructions
Clip a layer to a bounding-box extent, saving the result as a new layer.
Provide exactly one of reference_layer_name (clip to that layer's
extent) or bbox as [xmin, ymin, xmax, ymax] (crs defaults to the
source layer's CRS if omitted). This clips to the rectangular extent, not
the reference layer's actual feature geometries. The original layer is
left untouched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crs | No | ||
| bbox | No | ||
| name | No | ||
| layer_name | Yes | ||
| reference_layer_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||