v1
latestOpenAPI 3.1.02026-08-0420183200.9 KBGeospatial
Get the elevation profile along a polyline or at a point.
The Stadia elevation API allows you to get the elevation of any point on earth. You can pass either a simple set of points or a Google encoded polyline string. This pairs well with our routing APIs, so you can generate an elevation profile for your next bike or run.
post/elevation/v1
Request body
Example request
{
"height_precision": 0,
"id": "kesklinn",
"range": false,
"shape": [
{
"lat": 59.436884,
"lon": 24.742595
}
],
"shape_format": "polyline6"
}Response
A list of elevations along the polyline, in meters.
Example response
{
"id": "kesklinn",
"shape": [
{
"lat": 12.345678,
"lon": 12.345678
}
]
}