dem_profile
Extract an elevation profile along a line between two points, including distance, elevation gain and loss, and per-point samples for terrain analysis.
Instructions
Extract an elevation profile along a line between two points.
Args: start: Start point [lon, lat] end: End point [lon, lat] source: DEM source (cop30, cop90, srtm, aster, 3dep, fabdem) num_points: Number of sample points (default 100, minimum 2) interpolation: Sampling method (nearest, bilinear, cubic) output_mode: "json" or "text"
Returns: Elevation profile with distance, gain, loss, and per-point data
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": {
"start": "<start>",
"end": "<end>"
},
"name": "dem_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| start | Yes | ||
| source | No | cop30 | |
| num_points | No | ||
| output_mode | No | json | |
| interpolation | No | bilinear |