Skip to main content
Glama

GIS MCP Server

sjoin_gpd

Perform spatial joins between two geospatial datasets using specified join type and spatial predicate. Save the output to a defined path for further geospatial analysis.

Instructions

Spatial join between two GeoDataFrames using geopandas.sjoin. Args: left_path: Path to the left geospatial file. right_path: Path to the right geospatial file. how: Type of join ('left', 'right', 'inner'). predicate: Spatial predicate ('intersects', 'within', 'contains', etc.). output_path: Optional path to save the result. Returns: Dictionary with status, message, and output info.

Input Schema

NameRequiredDescriptionDefault
howNoinner
left_pathYes
output_pathNo
predicateNointersects
right_pathYes

Input Schema (JSON Schema)

{ "properties": { "how": { "default": "inner", "title": "How", "type": "string" }, "left_path": { "title": "Left Path", "type": "string" }, "output_path": { "default": null, "title": "Output Path", "type": "string" }, "predicate": { "default": "intersects", "title": "Predicate", "type": "string" }, "right_path": { "title": "Right Path", "type": "string" } }, "required": [ "left_path", "right_path" ], "title": "sjoin_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