point_in_polygon
Determine if points lie within specified polygons by performing a spatial join using the 'within' predicate. Input point and polygon geospatial files, optionally save the result, and receive a detailed output dictionary.
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.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
output_path | No | ||
points_path | Yes | ||
polygons_path | Yes |
Input Schema (JSON Schema)
{
"properties": {
"output_path": {
"default": null,
"title": "Output Path",
"type": "string"
},
"points_path": {
"title": "Points Path",
"type": "string"
},
"polygons_path": {
"title": "Polygons Path",
"type": "string"
}
},
"required": [
"points_path",
"polygons_path"
],
"title": "point_in_polygonArguments",
"type": "object"
}