clip_vector
Clip vector geometries to a specified boundary using geospatial files. Input a geospatial file and a clipping geometry file, and optionally save the result for precise spatial analysis.
Instructions
Clip vector geometries using geopandas.clip.
Args:
gdf_path: Path to the input geospatial file.
clip_path: Path to the clipping geometry file.
output_path: Optional path to save the result.
Returns:
Dictionary with status, message, and output info.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
clip_path | Yes | ||
gdf_path | Yes | ||
output_path | No |
Input Schema (JSON Schema)
{
"properties": {
"clip_path": {
"title": "Clip Path",
"type": "string"
},
"gdf_path": {
"title": "Gdf Path",
"type": "string"
},
"output_path": {
"default": null,
"title": "Output Path",
"type": "string"
}
},
"required": [
"gdf_path",
"clip_path"
],
"title": "clip_vectorArguments",
"type": "object"
}