nearest_point_on_geometry
Finds the nearest point on geometry2 to geometry1, returning the point in WKT format for spatial analysis.
Instructions
Find the nearest point on geometry2 to geometry1 using shapely.ops.nearest_points. Args: geometry1: WKT string of the first geometry (e.g., a point). geometry2: WKT string of the second geometry. Returns: Dictionary with status, message, and the nearest point as WKT.
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": {
"geometry1": "<geometry1>",
"geometry2": "<geometry2>"
},
"name": "nearest_point_on_geometry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geometry1 | Yes | ||
| geometry2 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||