Install command:
brew install postgis

Adds support for geographic objects to PostgreSQL

License: GPL-2.0-or-later

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

/api/bottle/postgis.json (Bottle 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.3
head ⚡️ HEAD

Depends on:

gdal 3.3.1 Geospatial Data Abstraction Library
geos 3.9.1 Geometry Engine
json-c 0.15 JSON parser for C
pcre 8.45 Perl compatible regular expressions library
postgresql 13.3 Object-relational database system
proj@7 7.2.1 Cartographic Projections Library
protobuf-c 1.4.0 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 6,983
postgis --HEAD 1
Installs on Request (30 days)
postgis 6,890
postgis --HEAD 1
Build Errors (30 days)
postgis 3
Installs (90 days)
postgis 22,782
postgis --HEAD 4
Installs on Request (90 days)
postgis 22,509
postgis --HEAD 4
Installs (365 days)
postgis 104,612
postgis --HEAD 16
Installs on Request (365 days)
postgis 103,480
postgis --HEAD 16
Fork me on GitHub