osm2pgsql

Install command:
brew install osm2pgsql

OpenStreetMap data to PostgreSQL converter

https://osm2pgsql.org

License: GPL-2.0-only

/api/formula/osm2pgsql.json (JSON API)

/api/bottle/osm2pgsql.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
catalina
mojave
64-bit linux
Apple Silicon big sur

Current versions:

stable 1.5.1
head ⚡️ HEAD

Depends on:

boost 1.76.0 Collection of portable C++ source libraries
geos 3.9.1 Geometry Engine
luajit-openresty 2.1-20210510 OpenResty's Branch of LuaJIT 2
postgresql 14.0 Object-relational database system
proj@7 7.2.1 Cartographic Projections Library

Depends on when building from source:

cmake 3.21.3 Cross-platform make
lua 5.4.3 Powerful, lightweight programming language

Analytics:

Installs (30 days)
osm2pgsql 262
osm2pgsql --HEAD 1
Installs on Request (30 days)
osm2pgsql 264
osm2pgsql --HEAD 1
Build Errors (30 days)
osm2pgsql 0
Installs (90 days)
osm2pgsql 829
osm2pgsql --HEAD 1
Installs on Request (90 days)
osm2pgsql 830
osm2pgsql --HEAD 1
Installs (365 days)
osm2pgsql 3,955
osm2pgsql --HEAD 5
Installs on Request (365 days)
osm2pgsql 3,942
osm2pgsql --HEAD 5
Fork me on GitHub