pgRouting/pgrouting
Repository contains pgRouting library. Development branch is "develop", stable branch is "master" observed · 2026-08-28
Health v2 · maintenance only
84/100
- Activity 99
- Release rhythm 56
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 40
- age_days: 5781
- days_rel: 214
- days_push: 11
- n_releases_24m: 8
Adoption not part of the score
1426 stars · 395 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
pgRouting is a C/C++ PostgreSQL extension that adds geospatial routing and network analysis functions on top of PostGIS/PostgreSQL. It provides shortest path algorithms (Dijkstra, A*, bidirectional), driving distance, k-shortest paths, and traveling salesperson computations executed directly in the database via SQL.
Use cases
- compute shortest driving routes between addresses in a PostGIS database
- find service areas and driving distance isochrones from a point
- solve traveling salesperson routes over a set of stops
- run network analysis on road networks stored in PostgreSQL
- calculate k alternative routes between two locations
- apply dynamic cost functions via SQL for time-dependent routing
When to choose
- your road network data already lives in PostGIS/PostgreSQL and you want routing without exporting it
- you need routing results combined with SQL queries and live data updates without precalculation
- you want network analysis (driving distance, TSP, turn restrictions) inside the database
When to avoid
- you need turn-by-turn navigation with real-time traffic like a consumer routing engine
- you are not using PostgreSQL/PostGIS
- you need a standalone routing server with a REST API rather than SQL functions
Facets
library · maturity stable
routing geospatial database search-engine databases windows cross-platform self-hosted postgresql-extension postgis shortest-path network-analysis spatial-analysis dijkstra osgeo sql maps geospatial algorithms linux macos
3 sources
- readme: https://github.com/pgRouting/pgrouting · fetched 2026-08-28 · e8cb308a00ab
- homepage: https://pgrouting.org · fetched 2026-08-29 · f9c412be1efc
- site_page: https://pgrouting.org/documentation.html · fetched 2026-08-29 · 80799f53203c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pgRouting/pgrouting | main | 84 |
For agents
markdown · JSON · MCP: product_card(name="pgRouting/pgrouting")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem