PostGIS, H3, MobilityDB, pgrouting, and other Postgres extensions for geospatial data, mapping, and routing. Ranked by GitHub stars.
MobilityDB geospatial trajectory data management & analysis platform
MobilityDB geospatial trajectory data management & analysis platform
data type for lidar point clouds
Handle geohash based functionality for spatial coordinates
Fast Google Encoded Polyline encoding & decoding for postgres
calculate great-circle distances on the surface of the Earth
PostGIS geometry and geography spatial types and functions
Geospatial extensions add geographic and spatial data types, indexes, and operators to Postgres. PostGIS is the foundational layer — adds geometry and geography types, R-tree (GiST) spatial indexes, OGC-standard ST_* functions for distance, intersection, containment, and area, plus raster support. Other extensions build on PostGIS or extend Postgres differently: H3 adds Uber's hexagonal hierarchical spatial index for fast spatial aggregation, MobilityDB adds trajectory and moving-object types for fleet and IoT data, and pgrouting adds graph-based shortest-path routing on top of PostGIS networks. Together they make Postgres a complete geospatial database — the open-source equivalent of Oracle Spatial or SQL Server Spatial.
Use PostGIS when you store or query anything tied to a location — points, polygons, lines, distances, intersections, contains-within queries, or geofencing. Routing problems (delivery dispatch, ride-sharing, network analysis) want pgrouting on top of PostGIS. Aggregating geospatial events at scale (rideshare heatmaps, IoT device positions) benefits from H3's hexagonal binning. Skip these and use a specialized GIS stack (CartoDB, MapServer-only) when you manage billions of geometries with complex topology operations across many users — for 99% of mapping, geofencing, and location-based service use cases, PostGIS is the answer.
1bench is a modern GUI client for PostgreSQL — install extensions, write queries, and inspect schemas without leaving the IDE.
Try 1bench for PostgreSQL