Skip to main content
Glama

write_file_gpd

Export geospatial data from GeoDataFrames to various file formats including Shapefile, GeoJSON, and GPKG for GIS analysis and sharing.

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

TableJSON Schema
NameRequiredDescriptionDefault
gdf_pathYes
output_pathYes
driverNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mahdin75/gis-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server