Docker image to import NaturalEarth data into PostGIS using ogr2ogr.
100K+
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 -it --net=host \
-e PGHOST="127.0.0.1" \
-e PGDATABASE="openmaptiles" \
-e PGUSER="openmaptiles" \
-e PGPASSWORD="openmaptiles" \
openmaptiles/import-natural-earth
Optional environment variables:
PGPORT (defaults to 5432)PGCONN - Postgres connection string to override all previous env varsLegacy env variables are still supported, but they are not recommended:
POSTGRES_HOST,POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_PORT
Using version 4.1.
Content type
Image
Digest
Size
175.3 MB
Last updated
over 6 years ago
docker pull openmaptiles/import-natural-earth