reproject_raster
Reproject a raster dataset to a specified target CRS (e.g., EPSG:4326) with customizable resampling method, saving the result to a local path.
Instructions
Reproject a raster dataset to a new CRS and save the result.
Parameters:
source: local path or HTTPS URL of the source raster.
target_crs: target CRS string (e.g., "EPSG:4326").
destination: local filesystem path for the reprojected raster.
resampling: resampling method: "nearest", "bilinear", "cubic", etc.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>",
"target_crs": "<target_crs>",
"destination": "<destination>"
},
"name": "reproject_raster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| target_crs | Yes | ||
| destination | Yes | ||
| resampling | No | nearest |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||