weights_from_shapefile
Generate spatial weights from a shapefile using queen or rook contiguity; optional ID field for observation identifiers. Supports geospatial analysis on GIS MCP Server.
Instructions
Create a spatial weights (W) from a shapefile using contiguity.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contiguity | No | queen | |
id_field | No | ||
shapefile_path | Yes |