Skip to content

atlefren/osm2pg

Repository files navigation

Osm2Pg

Simple tool for importing OSM data into postGIS

Requirements

sudo apt-get install build-essential cmake libboost-dev libexpat1-dev zlib1g-dev libbz2-dev libgeos-c1v5 python3-dev postgresql-server-dev-10

Usage

python3 -m venv venv source venv/bin/activate pip install -r requirements.txt

export CONN_STR="dbname=<DB_NAME> user=<USER> password=<PASSWORD> host=<HOST>"

python import.py /path/to/osm_file.pbf

About

Simple tool for importing OSM data into PostGIS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages