libspatialite

Install command:
brew install libspatialite

Adds spatial SQL capabilities to SQLite

https://www.gaia-gis.it/fossil/libspatialite/index

License: MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later

Development: Pull requests

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

Formula code: libspatialite.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 5.1.0
head ⚡️ HEAD

Revision: 4

Patches:

https://github.com/Homebrew/homebrew-core/blob/main/Patches/libtool/configure-big_sur.diff
https://salsa.debian.org/debian-gis-team/spatialite/-/raw/38481157178415322d78a3a45dab18f0c1d45daa/debian/patches/libxml2-nanohttp.patch

Depends on:

freexl 2.0.0 Library to extract data from Excel .xls files
geos 3.15.0 Geometry Engine
librttopo 1.1.0 RT Topology Library
libxml2 2.15.4 GNOME XML library
minizip 1.4 C library for zip/unzip via zLib
proj 9.9.0 Cartographic Projections Library
sqlite 3.54.1 Command-line interface for SQLite

Depends on when building from source:

pkgconf 3.0.10 Package compiler and linker metadata toolkit

GitHub Packages downloads:

Last 30 days36,694
Downloads2,887,332
Analytics install events (30 days)3,203
Downloads / install events (30 days)11.5×

Source: GitHub Packages, fetched 2026-11-16T00:54:17Z. Analytics dates: 2026-10-17 to 2026-11-16. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs3,2017,18450,521
Installs (--HEAD)2318
Installs on Request7831,71912,501
Installs on Request (--HEAD)009
Build Errors0