Origin–destination travel datasets with more than 10 million trips push past what is comfortable in pure Python. Loading everything into memory, joining on geographies, and aggregating by zone works until it does not.

PostGIS moves spatial operations into PostgreSQL: spatial indexes, ST_Within, ST_DWithin, routing graphs, and zone aggregations run set-based in the database. Python orchestrates; Postgres computes.

GeoPandas remains the right tool for exploratory analysis, one-off visualizations, and ETL staging. The production pattern is: ingest to PostGIS, analyze in SQL, export slices to Python or Superset for presentation.

Web maps are the front end: Leaflet or deck.gl pulling GeoJSON or vector tiles from FastAPI endpoints backed by PostGIS queries. The full stack (database, API, map) stays consistent because geometry lives in one place.