rvdmei / import-natural-earth

Docker image to import NaturalEarth data into PostGIS using ogr2ogr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Docker image to import NaturalEarth data into PostGIS using ogr2ogr

License:MIT License


Languages

Language:Shell 100.0%