Get a trail's elevation profile
get_route_elevationRetrieve elevation profile of an OSM route by relation ID, including minimum and maximum elevation and elevation points per segment, with optional simplification.
Instructions
Get the elevation profile of a route by its OSM relation id: minimum/maximum elevation and elevation points (lon, lat, ele in metres, pos along the way) per segment. Note: elevation data is only available on some flavours/servers; if unavailable a not_found result is returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | OSM relation id of the route. | |
| simplify | No | Optional simplification: maximum segment length in metres. 0 = no simplification. | |
| flavour | No | Which activity map to query: hiking, cycling, mtb (mountain biking), riding (horse), skating (inline), or slopes (ski/winter). Defaults to hiking. | hiking |
| language | No | Preferred language for names (BCP-47 code, e.g. 'en', 'de', 'fr'). | en |