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 sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 1.11.0
head ⚡️ HEAD

Depends on:

boost 1.84.0 Collection of portable C++ source libraries
geos 3.12.1 Geometry Engine
libpq 16.2 Postgres C API library
luajit 2.1.1713517273 Just-In-Time Compiler (JIT) for the Lua programming language
proj 9.4.0 Cartographic Projections Library

Depends on when building from source:

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

Analytics:

Installs (30 days)
osm2pgsql 158
osm2pgsql --HEAD 1
Installs on Request (30 days)
osm2pgsql 158
osm2pgsql --HEAD 1
Build Errors (30 days)
osm2pgsql 0
Installs (90 days)
osm2pgsql 777
osm2pgsql --HEAD 1
Installs on Request (90 days)
osm2pgsql 777
osm2pgsql --HEAD 1
Installs (365 days)
osm2pgsql 2,907
osm2pgsql --HEAD 3
Installs on Request (365 days)
osm2pgsql 2,907
osm2pgsql --HEAD 3
Fork me on GitHub