osm2pgsql

Install command:
brew install osm2pgsql

OpenStreetMap data to PostgreSQL converter

https://osm2pgsql.org

License: GPL-2.0-or-later

Development: Pull requests

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

Formula code: osm2pgsql.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 ✅ 2.3.1
head ⚡️ HEAD

Depends on:

libpq 18.6 Postgres C API library
luajit 2.1.1788856981 Just-In-Time Compiler (JIT) for the Lua programming language
proj 9.9.0 Cartographic Projections Library

Depends on when building from source:

boost 1.92.0 Collection of portable C++ source libraries
cli11 2.7.2 Simple and intuitive command-line parser for C++11
cmake 4.4.4 Cross-platform make
fmt 12.2.0 Open-source formatting library for C++
libosmium 2.23.1 Fast and flexible C++ library for working with OpenStreetMap data
lua 5.5.1 Powerful, lightweight programming language
nlohmann-json 3.12.0 JSON for modern C++
protozero 1.8.2 Minimalist protocol buffer decoder and encoder in C++

Uses from macOS: bzip2, expat

Binaries: osm2pgsql, osm2pgsql-expire, osm2pgsql-replication

Analytics:

30 days90 days365 days
Installs512171,249
Installs (--HEAD)012
Installs on Request512171,249
Installs on Request (--HEAD)012
Build Errors0