🍺 BREW Explorer

← all formulae

postgis

brew install postgis v3.6.4 GPL-2.0-or-later

PostgreSQL extension adding geographic and spatial data types, functions, and indexes for GIS applications.

Why you might care

If you're building location-aware applications or geospatial data pipelines, PostGIS extends PostgreSQL with native geometry/geography types, spatial indexing, and hundreds of GIS functions (distance, intersection, buffering, etc.). It's the standard choice for storing and querying map data, routing networks, and spatial analysis without leaving SQL.

Categories

Alternatives

MySQL Spatial Extensions MongoDB geospatial SpatiaLite DuckDB spatial
1.9k
30-day installs · #994
5.7k
90-day · #1026
25.7k
365-day · #962

Runtime dependencies

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "MySQL Spatial Extensions",
    "MongoDB geospatial",
    "SpatiaLite",
    "DuckDB spatial"
  ],
  "build_dependencies": [
    "pkgconf",
    "postgresql@17",
    "postgresql@18"
  ],
  "categories": [
    "database",
    "library",
    "spatial-data"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "gdal",
    "geos",
    "icu4c@78",
    "json-c",
    "libpq",
    "libxml2",
    "pcre2",
    "proj",
    "protobuf-c",
    "sfcgal",
    "gettext"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Adds support for geographic objects to PostgreSQL",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:15+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "postgis",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://postgis.net/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "PostGIS",
  "installs_30d": 1910,
  "installs_365d": 25669,
  "installs_90d": 5749,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "GPL-2.0-or-later",
  "llm_generated_at": "2026-06-20T23:48:19+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "postgis",
  "oldnames": [],
  "one_liner": "PostgreSQL extension adding geographic and spatial data types, functions, and indexes for GIS applications.",
  "optional_dependencies": [],
  "rank_30d": 994,
  "rank_365d": 962,
  "rank_90d": 1026,
  "raw_hash": "32e4c50870e521ce",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/p/postgis.rb",
  "tap": "homebrew/core",
  "test_dependencies": [
    "postgresql@17",
    "postgresql@18"
  ],
  "uses_from_macos": [
    "perl"
  ],
  "version_head": "HEAD",
  "version_stable": "3.6.4",
  "versioned_formulae": [],
  "why_use_this": "If you\u0027re building location-aware applications or geospatial data pipelines, PostGIS extends PostgreSQL with native geometry/geography types, spatial indexing, and hundreds of GIS functions (distance, intersection, buffering, etc.). It\u0027s the standard choice for storing and querying map data, routing networks, and spatial analysis without leaving SQL."
}