osm2pgsql

OpenStreetMap data to PostgreSQL converter

https://wiki.openstreetmap.org/wiki/Osm2pgsql

Current versions:

stable 0.96.0
head ⚡️ HEAD
bottle 🍾 high_sierra, sierra, el_capitan

Options:

--without-lua Build without lua support

Depends on:

postgresql 10.4 Object-relational database system
boost 1.67.0 Collection of portable C++ source libraries
geos 3.6.2 Geometry Engine
proj 5.0.1 Cartographic Projections Library

Depends on recommended:

lua 5.3.4 Powerful, lightweight programming language

Depends on when building from source:

cmake 3.11.2 Cross-platform make

JSON API for osm2pgsql

Formula code on GitHub

Fork me on GitHub