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

Current versions:

stable 2.0.0
head ⚡️ HEAD

Depends on:

libpq 17.1 Postgres C API library
luajit 2.1.1731601260 Just-In-Time Compiler (JIT) for the Lua programming language
proj 9.5.0 Cartographic Projections Library

Depends on when building from source:

boost 1.86.0 Collection of portable C++ source libraries
cli11 2.4.2 Simple and intuitive command-line parser for C++11
cmake 3.31.0 Cross-platform make
fmt 11.0.2 Open-source formatting library for C++
libosmium 2.20.0 Fast and flexible C++ library for working with OpenStreetMap data
lua 5.4.7 Powerful, lightweight programming language
nlohmann-json 3.11.3 JSON for modern C++

Analytics:

Installs (30 days)
osm2pgsql 178
Installs on Request (30 days)
osm2pgsql 178
Build Errors (30 days)
osm2pgsql 0
Installs (90 days)
osm2pgsql 693
Installs on Request (90 days)
osm2pgsql 693
Installs (365 days)
osm2pgsql 2,676
osm2pgsql --HEAD 4
Installs on Request (365 days)
osm2pgsql 2,676
osm2pgsql --HEAD 4
Fork me on GitHub