Skip to main content
Glama

GIS MCP Server

write_file_gpd

Convert and save GeoDataFrame to geospatial file formats like Shapefile, GeoJSON, or GPKG using specified driver, enabling efficient geospatial data export.

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

NameRequiredDescriptionDefault
driverNo
gdf_pathYes
output_pathYes

Input Schema (JSON Schema)

{ "properties": { "driver": { "default": null, "title": "Driver", "type": "string" }, "gdf_path": { "title": "Gdf Path", "type": "string" }, "output_path": { "title": "Output Path", "type": "string" } }, "required": [ "gdf_path", "output_path" ], "title": "write_file_gpdArguments", "type": "object" }

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