postgis

Install command:
brew install postgis

Adds support for geographic objects to PostgreSQL

https://postgis.net/

License: GPL-2.0-or-later

Development: Pull requests

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

Formula code: postgis.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 3.6.2
head ⚡️ HEAD

Depends on:

gdal 3.12.2 Geospatial Data Abstraction Library
geos 3.14.1 Geometry Engine
icu4c@78 78.2 C/C++ and Java libraries for Unicode and globalization
json-c 0.18 JSON parser for C
libpq 18.2 Postgres C API library
libxml2 2.15.1 GNOME XML library
pcre2 10.47 Perl compatible regular expressions library with a new API
proj 9.7.1 Cartographic Projections Library
protobuf-c 1.5.2 Protocol buffers library
sfcgal 2.2.0 C++ wrapper library around CGAL
gettext 1.0 GNU internationalization (i18n) and localization (l10n) library

Depends on when building from source:

pkgconf 2.5.1 Package compiler and linker metadata toolkit
postgresql@17 17.8 Object-relational database system
postgresql@18 18.2 Object-relational database system

Analytics:

Installs (30 days)
postgis 1,964
postgis --HEAD 2
Installs on Request (30 days)
postgis 1,905
postgis --HEAD 2
Build Errors (30 days)
postgis 23
Installs (90 days)
postgis 6,360
postgis --HEAD 12
Installs on Request (90 days)
postgis 6,189
postgis --HEAD 12
Installs (365 days)
postgis 30,124
postgis --HEAD 59
Installs on Request (365 days)
postgis 28,873
postgis --HEAD 59