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.4
head ⚡️ HEAD

Revision: 1

Depends on:

gdal 3.3.2 Geospatial Data Abstraction Library
geos 3.10.0 Geometry Engine
json-c 0.15 JSON parser for C
pcre 8.45 Perl compatible regular expressions library
postgresql 14.0 Object-relational database system
proj@7 7.2.1 Cartographic Projections Library
protobuf-c 1.4.0 Protocol buffers library
sfcgal 1.4.0 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 9,929
postgis --HEAD 6
postgis --enable-debug 1
Installs on Request (30 days)
postgis 9,845
postgis --HEAD 6
postgis --enable-debug 1
Build Errors (30 days)
postgis 25
postgis --HEAD 4
Installs (90 days)
postgis 23,255
postgis --HEAD 8
postgis --enable-debug 1
Installs on Request (90 days)
postgis 23,025
postgis --HEAD 8
postgis --enable-debug 1
Installs (365 days)
postgis 103,040
postgis --HEAD 23
Installs on Request (365 days)
postgis 101,998
postgis --HEAD 23
Fork me on GitHub