geometry_to_geojson
Convert Shapely geometry from Well-Known Text (WKT) to GeoJSON format for interoperability with web maps and GIS applications.
Instructions
Convert a Shapely geometry (WKT) to GeoJSON using shapely.geometry.mapping. Args: geometry: WKT string of the geometry. Returns: Dictionary with status, message, and GeoJSON representation.
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": {
"geometry": "<geometry>"
},
"name": "geometry_to_geojson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geometry | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||