Elevation API | Rijwind docs
Elevation
Get the ground elevation (metres above sea level) for a set of points, or build an elevation profile along a route — for climb totals, gradient charts, and "how much climbing is in this ride?".
POST /elevation/v1 returns one elevation per input coordinate. There are two
input modes — use exactly one.
Cost: 1 unit per call.
Points
Pass up to 512 discrete coordinates. You get one elevation back per point, in the same order.
Code
Code
elevation is null where there's no coverage (e.g. open ocean).
A route — encodedPolyline
For a whole route or GPS track, send the geometry as a single encoded
polyline (precision 6 — the same shape the routing endpoints return) and the
API samples it at samples evenly-spaced points along the line. Send one
compact polyline instead of thousands of track points and get a clean,
fixed-size profile back.
Code
samples defaults to 256 and is capped at 1000.
With the SDK
Code
Elevations come from a global elevation model. Along a route, the total ascent is more meaningful than any single point's exact value.
Looking to show shaded relief or 3D terrain on a map? That's part of the basemap, not this API.