Skip to main content
Glama

GIS MCP Server

reclassify_raster

Reclassifies raster values using a mapping dictionary, transforming specific input values into desired output values. Saves the modified raster to a specified path for enhanced geospatial analysis.

Instructions

Reclassify raster values using a mapping dictionary. Args: raster_path: Path to the input raster. reclass_map: Dictionary mapping old values to new values (e.g., {1: 10, 2: 20}). output_path: Path to save the reclassified raster. Returns: Dictionary with status and message.

Input Schema

NameRequiredDescriptionDefault
output_pathYes
raster_pathYes
reclass_mapYes

Input Schema (JSON Schema)

{ "properties": { "output_path": { "title": "Output Path", "type": "string" }, "raster_path": { "title": "Raster Path", "type": "string" }, "reclass_map": { "additionalProperties": true, "title": "Reclass Map", "type": "object" } }, "required": [ "raster_path", "reclass_map", "output_path" ], "title": "reclassify_rasterArguments", "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