Skip to content
Import OSM data into Postgres DB
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


A simple shell script to get a PostgreSQL DB instance up and running quickly with OSM data imported and ready to query from the host machine.

##Method Running the bash script sequentially calls other scripts in the /scripts directory to do the following:

  1. - Create the PostgreSQL database and install necessary PostGIS extensions
  2. - Install the osm2pqsql utility
  3. - Download the latest osm extract file and save to the /data directory
  4. - Run the import script to get the OSM data from the downloaded file into the PostgreSQL DB
You can’t perform that action at this time.