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

Bottle JSON API: /api/bottle/osm2pgsql.json

Formula code: osm2pgsql.rb on GitHub

Bottle (binary package) installation support provided for:

Intel monterey
big sur
catalina
Apple Silicon monterey
big sur

Current versions:

stable 1.7.0
head ⚡️ HEAD

Depends on:

boost 1.79.0 Collection of portable C++ source libraries
geos 3.11.0 Geometry Engine
libpq 14.5 Postgres C API library
luajit 2.1.0-beta3-20220815.3 Just-In-Time Compiler (JIT) for the Lua programming language
proj 9.1.0 Cartographic Projections Library

Depends on when building from source:

cmake 3.24.2 Cross-platform make
lua 5.4.4 Powerful, lightweight programming language

Analytics (macOS):

Installs (30 days)
osm2pgsql 404
Installs on Request (30 days)
osm2pgsql 403
Build Errors (30 days)
osm2pgsql 0
Installs (90 days)
osm2pgsql 1,265
Installs on Request (90 days)
osm2pgsql 1,264
Installs (365 days)
osm2pgsql 4,145
osm2pgsql --HEAD 2
Installs on Request (365 days)
osm2pgsql 4,145
osm2pgsql --HEAD 2

Analytics (Linux):

Installs (30 days)
osm2pgsql 0
Installs on Request (30 days)
osm2pgsql 0
Build Errors (30 days)
osm2pgsql 0
Installs (90 days)
osm2pgsql 3
Installs on Request (90 days)
osm2pgsql 3
Installs (365 days)
osm2pgsql 11
Installs on Request (365 days)
osm2pgsql 11
Fork me on GitHub