This repo has been archived. Use openmaptiles-tools/docker/import-natural-earth instead.
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.
Provide the database credentials and run import-natural-earth
.
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
Using version 4.1.