Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 878 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 878 Bytes

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