imposm3

Import OpenStreetMap data into PostgreSQL/PostGIS databases

brewmacoslinux
Try with needOr install directly
Source

About

Imports OpenStreetMap data into PostgreSQL/PostGIS databases

Commands

imposm3

Examples

Import OSM data from a PBF file into PostGIS database$ imposm3 import -c imposm3.conf -m mapping.yaml -read planet.pbf -write
Deploy imported data and switch from staging to production$ imposm3 import -c imposm3.conf -m mapping.yaml -deploy
Remove old tables after successful deployment$ imposm3 import -c imposm3.conf -cleanup