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

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
Apple Silicon big sur

Current versions:

stable 3.1.1
head ⚡️ HEAD

Revision: 1

Depends on:

gdal 3.2.2 Geospatial Data Abstraction Library
geos 3.9.1 Geometry Engine
json-c 0.15 JSON parser for C
pcre 8.44 Perl compatible regular expressions library
postgresql 13.2 Object-relational database system
proj 7.2.1 Cartographic Projections Library
protobuf-c 1.3.3 Protocol buffers library
sfcgal 1.3.10 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 7,508
Installs on Request (30 days)
postgis 7,428
Build Errors (30 days)
postgis 15
Installs (90 days)
postgis 24,845
postgis --HEAD 5
Installs on Request (90 days)
postgis 24,573
postgis --HEAD 5
Installs (365 days)
postgis 99,120
postgis --HEAD 12
Installs on Request (365 days)
postgis 97,960
postgis --HEAD 12
Fork me on GitHub