write_file_gpd
Export geospatial data to Shapefile, GeoJSON, or GPKG by specifying input and output file paths, with optional driver selection.
Instructions
Export a GeoDataFrame to a file (Shapefile, GeoJSON, GPKG, etc.). Args: gdf_path: Path to the input geospatial file. output_path: Path to save the exported file. driver: Optional OGR driver name (e.g., 'ESRI Shapefile', 'GeoJSON', 'GPKG'). Returns: Dictionary with status and message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gdf_path | Yes | ||
| output_path | Yes | ||
| driver | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||