Adds support for geographic objects to PostgreSQL

Current versions

postgis requires the following formulae to be installed:
pkg-config 0.29.2 Manage compile and link flags for libraries
gpp 2.25 General-purpose preprocessor with customizable syntax
postgresql 10.3 Object-relational database system
proj 5.0.1 Cartographic Projections Library
geos 3.6.2 Geometry Engine
json-c 0.12.1 JSON parser for C
gdal 2.2.4 Geospatial Data Abstraction Library
pcre 8.42 Perl compatible regular expressions library
sfcgal 1.3.2_1 C++ wrapper library around CGAL
protobuf-c 1.3.0_2 Protocol buffers library

Reverse dependencies

The following formulae require postgis to be installed:
virtualpg 1.0.2 Loadable dynamic extension for SQLite and SpatiaLite
pgrouting 2.6.0 Provides geospatial routing for PostGIS/PostgreSQL database
osm2pgrouting 2.3.4 Import OSM data into pgRouting database

Recent formula history

ilovezfs postgis 2.4.4
FX Coudert postgis: revision for gdal
ilovezfs postgis: revision for proj
Viktor Szakats postgis: secure url(s)
ilovezfs postgis 2.4.3

Formula code at GitHub