gdal vector clip
How GDAL runs Clip: gdal vector clip.
| Engine | GDAL |
|---|---|
| Tool name | gdal vector clip |
| Interface | cli |
| Implements | Clip |
| Documentation | https://gdal.org/programs/gdal_vector_clip.html |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
input-format | string_list | no | Not stated | Not stated | Not stated |
open-option | string_list | no | Not stated | Not stated | Not stated |
input | dataset_list | yes | Not stated | Not stated | vector dataset |
input-layer | string_list | no | Not stated | Not stated | Not stated |
output-format | string | no | Not stated | Not stated | Not stated |
output-open-option | string_list | no | Not stated | Not stated | Not stated |
creation-option | string_list | no | Not stated | Not stated | Not stated |
layer-creation-option | string_list | no | Not stated | Not stated | Not stated |
overwrite | boolean | no | no | Not stated | Not stated |
update | boolean | no | no | Not stated | Not stated |
overwrite-layer | boolean | no | no | Not stated | Not stated |
append | boolean | no | no | Not stated | exclusive group append-upsert |
upsert | boolean | no | Not stated | Not stated | exclusive group append-upsert |
output-layer | string | no | Not stated | Not stated | Not stated |
skip-errors | boolean | no | Not stated | Not stated | Not stated |
active-layer | string | no | Not stated | Not stated | Not stated |
bbox | real_list | no | Not stated | Not stated | exclusive group bbox-geometry-like |
bbox-crs | string | no | Not stated | Not stated | Not stated |
geometry | string | no | Not stated | Not stated | exclusive group bbox-geometry-like |
geometry-crs | string | no | Not stated | Not stated | Not stated |
like | dataset | no | Not stated | Not stated | raster or vector dataset; exclusive group bbox-geometry-like |
like-sql | string | no | Not stated | Not stated | exclusive group sql-where |
like-layer | string | no | Not stated | Not stated | Not stated |
like-where | string | no | Not stated | Not stated | exclusive group sql-where |
output | dataset | yes | Not stated | Not stated | input and output; vector dataset |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
layer | input | Not stated |
mask | like | Not stated |
output | output | Not stated |
Differences from the operation
- Can also clip to a bbox or to a geometry given as WKT, instead of a mask layer.
Harvested by the gdal harvester from engine version
3.13.3. Names can change when an engine is harvested again.