Create Memory Layer
create_memory_layerCreate a temporary vector layer in memory with specified geometry type and optional field definitions for intermediate data processing without saving to disk.
Instructions
Create a new in-memory vector layer. geometry_type: Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon. fields: [{name, type}] where type is integer, double, string, date, datetime.
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": {
"name": "<name>",
"geometry_type": "<geometry_type>"
},
"name": "create_memory_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crs | No | EPSG:4326 | |
| name | Yes | ||
| fields | No | ||
| geometry_type | Yes |