Getting Started with pgRouting: Shortest Paths in PostgreSQL

If your application needs to answer &ldquo;what is the fastest route between two points,&rdquo; you might reach for an external routing API like Mapbox Directions. But if your spatial data is already stored in PostgreSQL, the Postgres extension pgRouting lets you run graph-based routing queries right where the data is. PostGIS gives you spatial data types, indexes, and operations like distance…