osm2pgsql is a tool for loading OpenStreetMap data into a PostgreSQL/PostGIS database suitable for applications like rendering into a map, geocoding with Nominatim, or general analysis. From Patrick Keshishian with tweaks by sthen@ & myself ok sthen@