osm2pgsql

Install command:
brew install osm2pgsql

OpenStreetMap data to PostgreSQL converter

https://osm2pgsql.org

License: GPL-2.0-only

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

Formula code: osm2pgsql.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon ventura
monterey
big sur
Intel ventura
monterey
big sur
64-bit linux

Current versions:

stable 1.9.2
head ⚡️ HEAD

Depends on:

boost 1.82.0 Collection of portable C++ source libraries
geos 3.12.0 Geometry Engine
libpq 16.0 Postgres C API library
luajit 2.1.0-beta3-20230813.2 Just-In-Time Compiler (JIT) for the Lua programming language
proj 9.3.0 Cartographic Projections Library

Depends on when building from source:

cmake 3.27.6 Cross-platform make
lua 5.4.6 Powerful, lightweight programming language
nlohmann-json 3.11.2 JSON for modern C++

Analytics:

Installs (30 days)
osm2pgsql 303
Installs on Request (30 days)
osm2pgsql 303
Build Errors (30 days)
osm2pgsql 0
Installs (90 days)
osm2pgsql 720
Installs on Request (90 days)
osm2pgsql 720
Installs (365 days)
osm2pgsql 1,334
Installs on Request (365 days)
osm2pgsql 1,334
Fork me on GitHub