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.1 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.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 9,954
postgis --HEAD 4
Installs on Request (30 days)
postgis 9,853
postgis --HEAD 4
Build Errors (30 days)
postgis 16
Installs (90 days)
postgis 28,708
postgis --HEAD 7
Installs on Request (90 days)
postgis 28,488
postgis --HEAD 7
Installs (365 days)
postgis 95,146
postgis --HEAD 12
Installs on Request (365 days)
postgis 93,837
postgis --HEAD 11
Fork me on GitHub