# valhalla/valhalla

Open Source Routing Engine for OpenStreetMap

Repository: https://github.com/valhalla/valhalla
Canonical: https://ross.abutalabs.com/products/valhalla
Homepage: https://valhalla.github.io/valhalla/
Language: C++
License: NOASSERTION
License Family: other
Topics: openstreetmap, dijkstra, astar, tiled, directions, isochrones, multi-modal, traveling-salesman, routing-engine, routing
Last push: 2026-08-26T19:28:34+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 82, longevity 100
- inputs: {"age_days": 3879, "days_push": 7, "days_rel": 40, "gap_med": 35, "n_releases_24m": 10}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6123, forks 965 (observed 2026-08-28T04:09:36.157911+00:00)

## What it is
Valhalla is an open source routing engine and set of libraries built on OpenStreetMap data, written in C++. It provides turn-by-turn directions, time/distance matrices, isochrones, elevation sampling, map matching, and traveling-salesman tour optimization.

## Use cases
- compute driving, walking, or cycling directions from OpenStreetMap data
- generate isochrones showing reachable areas by time or distance
- build a self-hosted alternative to Google Maps routing APIs
- calculate origin-destination time and distance matrices
- match GPS traces to road networks
- solve traveling salesman tour optimization
- sample elevation along a route

## When to choose
- you need a self-hosted, open source routing engine with permissive MIT licensing
- you want advanced features like isochrones, map matching, and multi-modal routing in one tool
- you work with OpenStreetMap data and need tiled, scalable routing
- you need a high-performance C++ engine with Python bindings

## When to avoid
- you only need simple point-to-point geocoding without routing
- you want a hosted managed service with no infrastructure to run
- you need routing for proprietary map data sources not supported by Valhalla's tooling

## Facets
- artifact type: service
- maturity: active
- function: routing, search-engine, geospatial, http-server, api-framework
- domain: developer-tools, self-hosted
- platform: windows, cpp, self-hosted
- tags: openstreetmap, routing-engine, directions, isochrones, map-matching, traveling-salesman, elevation, dijkstra, astar, multi-modal-routing, maps, geospatial, linux, macos, docker

## Member repositories
- valhalla/valhalla (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:36.157911+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:47:59.947361+00:00, confidence not recorded.
  - readme: https://github.com/valhalla/valhalla (fetched 2026-08-28T04:09:36.157911+00:00, sha 7596ae852d39)
  - homepage: https://valhalla.github.io/valhalla/ (fetched 2026-08-29T08:44:31.375039+00:00, sha 33a341eaf1cc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
