dem_contour
Generates contour lines at specified elevation intervals for a bounding box from a DEM source, producing GeoTIFF or PNG output with contour count and elevation range.
Instructions
Generate contour lines at specified elevation intervals for a bounding box.
Contour lines are rasterised: contour pixels contain their elevation level value, non-contour pixels are NaN. PNG output shows contours overlaid on a terrain-coloured background.
Args: bbox: Bounding box [west, south, east, north] in EPSG:4326 source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) interval_m: Elevation interval between contour lines in metres (default 100) output_format: Output format (geotiff or png) output_mode: "json" or "text"
Returns: Contour raster artifact with contour count and elevation range
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_contour"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | Yes | ||
| source | No | cop30 | |
| interval_m | No | ||
| output_mode | No | json | |
| output_format | No | geotiff |