Skip to main content
Glama

GIS MCP Server

distance_band_weights

Generate spatial weights for point data based on distance thresholds using GIS MCP Server. Define neighbors within a specified range and apply binary or inverse distance weights for geospatial analysis.

Instructions

Create a distance-based spatial weights (W) object from point data. - data_path: path to point shapefile or GeoPackage - threshold: distance threshold for neighbors (in CRS units, e.g., meters) - binary: True for binary weights, False for inverse distance weights - id_field: optional attribute name to use as observation IDs

Input Schema

NameRequiredDescriptionDefault
binaryNo
data_pathYes
id_fieldNo
thresholdYes

Input Schema (JSON Schema)

{ "properties": { "binary": { "default": true, "title": "Binary", "type": "boolean" }, "data_path": { "title": "Data Path", "type": "string" }, "id_field": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Id Field" }, "threshold": { "title": "Threshold", "type": "number" } }, "required": [ "data_path", "threshold" ], "title": "distance_band_weightsArguments", "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