Generate elevation profile transect between two points
get_elevation_profileSamples evenly spaced elevation points along a straight line between two coordinates in one API call, returning distance, total ascent, total descent, and average grade for route profiles.
Instructions
Sample evenly spaced points along a straight line between two coordinates in a single API call, returning distance, total ascent, total descent, and average grade.
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_lat": "<start_lat>",
"start_lng": "<start_lng>",
"end_lat": "<end_lat>",
"end_lng": "<end_lng>"
},
"name": "get_elevation_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset | No | DEM dataset (default "aster30m"). | |
| end_lat | Yes | End latitude in decimal degrees. | |
| end_lng | Yes | End longitude in decimal degrees. | |
| samples | No | Number of profile sample points (default 10, max 50). | |
| start_lat | Yes | Start latitude in decimal degrees. | |
| start_lng | Yes | Start longitude in decimal degrees. |