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.2 Object-relational database system
proj 4.9.3 Cartographic Projections Library
geos 3.6.2 Geometry Engine
json-c 0.12.1 JSON parser for C
gdal 1.11.5_3 Geospatial Data Abstraction Library
pcre 8.41 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 formula requires postgis to be installed:
virtualpg 1.0.2 Loadable dynamic extension for SQLite and SpatiaLite

Recent formula history

Viktor Szakats postgis: secure url(s)
ilovezfs postgis 2.4.3
Adrian Frith postgis: add protobuf-c optional dependency (#22801)
FX Coudert postgis: revision for mpfr
ilovezfs postgis 2.4.2

Formula code at GitHub