kokoalberti / postgis-baselayers

Web application to download and import popular vector datasets (Natural Earth, GADM, Geonames, etc) into a PostGIS database with the click of a button.
MIT License
43 stars 9 forks source link

Connecting to existing PostGIS database #16

Closed kokoalberti closed 5 years ago

kokoalberti commented 5 years ago
kokoalberti commented 5 years ago

Connecting to an existing database is possible by updating the .env file and running Docker Compose with docker-compose-standalone.yaml, which is a configuration that does not include its own PostGIS database.

There are some additional checks to see if PostGIS is installed in the new database, and an option to run CREATE EXTENSION postgis; if this is not the case.