Tool reference
Clip
Clips polygon features by a boundary layer
Parameters
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| Input Layer | dropdown | Layer to clip | — | — |
| Clip Layer | dropdown | Polygon layer used as the boundary | — | — |
Inputs / Outputs / State behavior
State mode: layers · Mutates state: yes · Produces artifacts: no
Inputs
Input Layer→ layer · Polygon, MultiPolygon · honors selectionClip Layer→ layer · Polygon, MultiPolygon
Outputs
- layer → add · Polygon
Spec JSON
{
"key": "ClipTool",
"name": "Clip",
"description": "Clips polygon features by a boundary layer",
"headlessSupported": true,
"parameters": [
{
"name": "Input Layer",
"description": "Layer to clip",
"type": "dropdown",
"defaultValue": "",
"required": true
},
{
"name": "Clip Layer",
"description": "Polygon layer used as the boundary",
"type": "dropdown",
"defaultValue": "",
"required": true
}
],
"execution": {
"stateMode": "layers",
"inputs": [
{
"parameter": "Input Layer",
"kind": "layer",
"geometryTypes": [
"Polygon",
"MultiPolygon"
],
"cardinality": "one",
"selectionAware": true
},
{
"parameter": "Clip Layer",
"kind": "layer",
"geometryTypes": [
"Polygon",
"MultiPolygon"
],
"cardinality": "one",
"selectionAware": false
}
],
"outputs": [
{
"kind": "layer",
"operation": "add",
"geometryType": "Polygon"
}
],
"mutatesState": true,
"producesArtifacts": false
}
}