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

Revision: 2

Depends on:

gdal 3.9.1 Geospatial Data Abstraction Library
geos 3.12.2 Geometry Engine
icu4c 74.2 C/C++ and Java libraries for Unicode and globalization
json-c 0.17 JSON parser for C
pcre2 10.44 Perl compatible regular expressions library with a new API
postgresql@14 14.12 Object-relational database system
proj 9.4.1 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 2,769
postgis --HEAD 2
Installs on Request (30 days)
postgis 2,251
postgis --HEAD 2
Build Errors (30 days)
postgis 2
Installs (90 days)
postgis 9,404
postgis --HEAD 7
Installs on Request (90 days)
postgis 8,037
postgis --HEAD 7
Installs (365 days)
postgis 38,519
postgis --HEAD 65
Installs on Request (365 days)
postgis 32,098
postgis --HEAD 65
Fork me on GitHub