terrain_profile
Produces a full elevation profile along any straight path, with statistics on relief, ascent, and descent, to assess route difficulty or plan pipelines and earthworks.
Instructions
Get the terrain elevation profile along a path between two points.
Samples the ground along a true geodesic and returns the full profile plus statistics: minimum, maximum, relief, total ascent and descent. All samples come from one batched request rather than one call per point.
Use this for cycling and hiking route difficulty, pipeline and cable routing, drainage assessment, or sizing earthworks. For the elevation at a single point, or at a scattered set of them, use terrain_elevation -- this tool always samples the straight line between two ends.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Start of the path. | |
| samples | No | Number of evenly-spaced elevation samples along the path. | |
| destination | Yes | End of the path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| profile | Yes | ||
| samples | Yes | ||
| statistics | Yes | ||
| total_distance_m | Yes |