dem_terrain_ruggedness
Calculate a Terrain Ruggedness Index (TRI) raster for a bounding box from a chosen DEM source, quantifying mean elevation differences from neighboring cells in metres.
Instructions
Compute Terrain Ruggedness Index (TRI) for a bounding box.
TRI measures the mean absolute elevation difference between a cell and its 8 neighbours (Riley et al. 1999). Values are in metres.
Classification: 0-80m level, 81-116m nearly level, 117-161m slightly rugged, 162-239m intermediately rugged, 240-497m moderately rugged, 498-958m highly rugged, 959+m extremely rugged.
Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) output_format: Output format (geotiff or png) output_mode: "json" or "text"
Returns: TRI raster artifact with values in metres
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": {
"bbox": "<bbox>"
},
"name": "dem_terrain_ruggedness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | Yes | ||
| source | No | cop30 | |
| output_mode | No | json | |
| output_format | No | geotiff |