Terrain Profile
terrain_profileGenerates elevation profiles along paths between two or more points, sampling at a chosen interval and optionally applying Earth curvature for radio line-of-sight analysis.
Instructions
Elevation profile (metres AMSL) along a path through 2 or more points.
Samples every spacing_m metres (default 30) along great-circle segments between the points; every input point is a sample. Returns distance in metres from the start, lat/lon and elevation per sample. With include_curvature=true each sample also has curvature_adjusted_m = elevation + d1d2/(2k*R), the terrain as seen against the straight first-to-last chord, with earth bulge for k_factor (default 4/3). At most 20000 samples; for longer paths increase spacing_m. At most 16 new terrain tiles are downloaded per call.
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": {
"points": "<points>"
},
"name": "terrain_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | ||
| k_factor | No | Effective earth radius factor | |
| spacing_m | No | Sample spacing in metres | |
| include_curvature | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | ||
| attribution | Yes | ||
| sample_count | Yes | ||
| total_distance_m | Yes |