pgrouting
« Back to VersTracker
Description:
Provides geospatial routing for PostGIS/PostgreSQL database
Type: Formula  |  Latest Version: 4.0.0@0  |  Tracked Since: Nov 7, 2025
Links: Homepage  |  formulae.brew.sh
Category: Databases
Tags: geospatial routing postgresql postgis database
Install: brew install pgrouting
About:
pgRouting extends the PostGIS/PostgreSQL geospatial database to provide geospatial routing functionality. It supports algorithms like Dijkstra's, A*, and driving distance calculations on road networks. This enables complex route planning and network analysis directly within the database environment.
Key Features:
  • Supports Dijkstra, A*, and other routing algorithms
  • Handles topology creation and analysis
  • Integrates seamlessly with PostGIS for spatial data
  • Enables SQL-based geospatial queries
Use Cases:
  • Vehicle routing and logistics planning
  • Emergency response route optimization
  • Network analysis for utilities and infrastructure
Alternatives:
  • OSRM – OSRM is a standalone C++ routing engine, whereas pgRouting operates as a PostgreSQL extension allowing SQL-based routing.
  • Valhalla – Valhalla is an open-source routing engine with multi-modal support, while pgRouting is tightly coupled with the PostGIS database.
Version History
Detected Version Rev Change Commit
Nov 7, 2025 11:14pm 0 VERSION_BUMP 8cf1031a
Sep 26, 2025 5:58pm 1 VERSION_BUMP 49b54589
Sep 17, 2025 12:19pm 0 VERSION_BUMP 8365abaf
Nov 14, 2024 6:59am 0 VERSION_BUMP 1030e90c
Sep 28, 2024 9:19pm 1 VERSION_BUMP 6ad63fe3
Sep 28, 2024 12:49pm 1 VERSION_BUMP f46270be
Sep 12, 2024 9:25pm 1 VERSION_BUMP 6b3bd8e6