point_in_polygon
Check if points are inside polygons using a spatial join with the 'within' predicate. Specify paths to point and polygon geospatial files to identify containment.
Instructions
Check if points are inside polygons using spatial join (predicate='within'). Args: points_path: Path to the point geospatial file. polygons_path: Path to the polygon geospatial file. output_path: Optional path to save the result. Returns: Dictionary with status, message, and output info.
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": {
"points_path": "<points_path>",
"polygons_path": "<polygons_path>"
},
"name": "point_in_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points_path | Yes | ||
| polygons_path | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||