Install command:
brew install postgis

Adds support for geographic objects to PostgreSQL

License: GPL-2.0-or-later

/api/formula/postgis.json (JSON API)

Formula code on GitHub

Current versions:

stable 3.0.3
head ⚡️ HEAD
bottle 🍾 big_sur, catalina, mojave

Depends on:

gdal 3.2.0 Geospatial Data Abstraction Library
geos 3.8.1 Geometry Engine
json-c 0.15 JSON parser for C
pcre 8.44 Perl compatible regular expressions library
postgresql 13.1 Object-relational database system
proj 7.2.0 Cartographic Projections Library
protobuf-c 1.3.3 Protocol buffers library
sfcgal 1.3.9 C++ wrapper library around CGAL

Depends on when building from source:

gpp 2.27 General-purpose preprocessor with customizable syntax
pkg-config 0.29.2 Manage compile and link flags for libraries


Installs (30 days)
postgis 10,075
postgis --HEAD 2
Installs on Request (30 days)
postgis 9,941
postgis --HEAD 2
Build Errors (30 days)
postgis 34
Installs (90 days)
postgis 27,680
postgis --HEAD 3
Installs on Request (90 days)
postgis 27,343
postgis --HEAD 3
Installs (365 days)
postgis 82,274
postgis --HEAD 10
Installs on Request (365 days)
postgis 80,627
postgis --HEAD 9
Fork me on GitHub