Routing

Routing via Valhalla (multimodal)

Single-source endpoint — Valhalla returns a turn-by-turn route, summary, and (optional) elevation profile.

get/api/v1/route

Query parameters

fromstring required

lat,lon

tostring required

lat,lon

mode'auto' | 'bicycle' | 'pedestrian'

Response

route returned

Example response

{
  "data": {
    "shape_format": "valhalla_encoded_polyline6"
  },
  "meta": {
    "upstream": "ok",
    "count": 5
  }
}

Changes

No changes recorded. 1 of the 2 revisions has no diff computed, so it could not be searched.