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

Depends on:

gdal 3.13.3 Geospatial Data Abstraction Library
geos 3.15.0 Geometry Engine
icu4c@78 78.3 C/C++ and Java libraries for Unicode and globalization
json-c 0.19 JSON parser for C
libpq 18.6 Postgres C API library
libxml2 2.15.4 GNOME XML library
pcre2 10.48 Perl compatible regular expressions library with a new API
proj 9.8.1 Cartographic Projections Library
protobuf-c 1.5.2 Protocol buffers library
sfcgal 2.3.0 C++ wrapper library around CGAL
gettext 1.0 GNU internationalization (i18n) and localization (l10n) library

Depends on when building from source:

pkgconf 3.0.7 Package compiler and linker metadata toolkit
postgresql@17 17.11 Object-relational database system
postgresql@18 18.6 Object-relational database system

Uses from macOS: perl

Binaries: create_upgrade.pl, pgsql2shp, pgtopo_export, pgtopo_import, postgis, postgis_restore, profile_intersects.pl, raster2pgsql, shp2pgsql, test_estimation.pl, test_geography_estimation.pl, test_geography_joinestimation.pl, test_joinestimation.pl

Analytics:

30 days90 days365 days
Installs1,3604,65424,699
Installs (--HEAD)3750
Installs on Request1,3194,50623,947
Installs on Request (--HEAD)3750
Build Errors4