Skip to main content
Glama

GIS MCP Server

resample_raster

Resample raster datasets by adjusting resolution with a scale factor using methods like nearest neighbor, bilinear, or cubic resampling. Save outputs to predefined paths.

Instructions

Resample a raster dataset by a scale factor and save the result. Parameters: - source: local path or HTTPS URL of the source raster. - scale_factor: multiplicative factor for width/height (e.g., 0.5 to halve resolution, 2.0 to double). - resampling: resampling method name: "nearest", "bilinear", "cubic", etc. - destination: local filesystem path for the resampled raster.

Input Schema

NameRequiredDescriptionDefault
destinationYes
resamplingYes
scale_factorYes
sourceYes

Input Schema (JSON Schema)

{ "properties": { "destination": { "title": "Destination", "type": "string" }, "resampling": { "title": "Resampling", "type": "string" }, "scale_factor": { "title": "Scale Factor", "type": "number" }, "source": { "title": "Source", "type": "string" } }, "required": [ "source", "scale_factor", "resampling", "destination" ], "title": "resample_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