export_features
Export a layer's current selection and definition query to a new dataset, with optional where filtering and map targeting.
Instructions
Export a layer -- honouring its current selection and definition query -- to a new dataset.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"layer_name": "<layer_name>",
"out_path": "<out_path>"
},
"name": "export_features"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| where | No | Extra where clause. | |
| map_name | No | Map to act on; defaults to the active map. | |
| out_path | Yes | Output dataset path. | |
| add_to_map | No | Add the result to the map. | |
| layer_name | Yes | Layer or table name as shown by get_layers, or a full dataset path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |