Skip to main content
Glama

GIS MCP Server

weighted_band_sum

Calculate a weighted sum of raster bands using specified weights to generate a single-band output, enabling precise geospatial data analysis. Input multi-band raster, define weights, and save the result to a destination file.

Instructions

Compute a weighted sum of all bands in a raster using specified weights. Parameters: - source: Path to the input multi-band raster file. - weights: List of weights (must match number of bands and sum to 1). - destination: Path to save the output single-band raster.

Input Schema

NameRequiredDescriptionDefault
destinationYes
sourceYes
weightsYes

Input Schema (JSON Schema)

{ "properties": { "destination": { "title": "Destination", "type": "string" }, "source": { "title": "Source", "type": "string" }, "weights": { "items": { "type": "number" }, "title": "Weights", "type": "array" } }, "required": [ "source", "weights", "destination" ], "title": "weighted_band_sumArguments", "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