Install command:
brew install postgis

Adds support for geographic objects to PostgreSQL

License: GPL-2.0-or-later

Formula JSON API: /api/formula/postgis.json

Formula code: postgis.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sonoma
Intel sonoma
64-bit linux

Current versions:

stable 3.4.2
head ⚡️ HEAD

Depends on:

gdal 3.8.5 Geospatial Data Abstraction Library
geos 3.12.1 Geometry Engine
icu4c 74.2 C/C++ and Java libraries for Unicode and globalization
json-c 0.17 JSON parser for C
pcre2 10.43 Perl compatible regular expressions library with a new API
postgresql@14 14.11 Object-relational database system
proj 9.4.0 Cartographic Projections Library
protobuf-c 1.5.0 Protocol buffers library
sfcgal 1.5.1 C++ wrapper library around CGAL

Depends on when building from source:

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


Installs (30 days)
postgis 3,041
postgis --HEAD 8
Installs on Request (30 days)
postgis 2,664
postgis --HEAD 8
Build Errors (30 days)
postgis 36
postgis --HEAD 1
Installs (90 days)
postgis 9,622
postgis --HEAD 19
Installs on Request (90 days)
postgis 8,077
postgis --HEAD 19
Installs (365 days)
postgis 37,262
postgis --HEAD 69
Installs on Request (365 days)
postgis 30,914
postgis --HEAD 69
Fork me on GitHub