Skip to content
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.

Docker image to import NaturalEarth data into PostGIS using ogr2ogr

License

Notifications You must be signed in to change notification settings

openmaptiles/import-natural-earth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

!!! OBSOLETE !!!

This repo has been archived. Use openmaptiles-tools/docker/import-natural-earth instead.


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-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

Natural Earth

Using version 4.1.