/import-natural-earth

Docker image to import NaturalEarth data into PostGIS using ogr2ogr

Primary LanguageShellMIT LicenseMIT

Import Natural Earth into PostGIS

Docker Automated build

This is a Docker image to import a subset of NaturalEarth using ogr2ogr into a PostGIS database. The SQLite database containing the tables for the import is already baked into the container to make distribution and execution easier.

Usage

Provide the database credentials and run import-water.

docker run --rm \
    -e POSTGRES_USER="osm" \
    -e POSTGRES_PASSWORD="osm" \
    -e POSTGRES_HOST="127.0.0.1" \
    -e POSTGRES_DB="osm" \
    -e POSTGRES_PORT="5432" \
    openmaptiles/import-natural-earth