Sign inSign up

lukasmartinelli/natural-earth-postgis

By lukasmartinelli

•Updated almost 9 years ago

A PostGIS Docker container populated with Natural Earth data

Image
0

696

lukasmartinelli/natural-earth-postgis repository overview

⁠Natural Earth PostGIS database stability-deprecated

:warning: This repository is no longer maintained by Lukas Martinelli.

A PostGIS⁠ Docker container populated with Natural Earth data. You can use this to quickly spin up a PostGIS database containing the full Natural Earth data set⁠ to get started with analysis.

⁠Requirements

Make sure you have installed Docker for your platform⁠.

⁠Usage

Now you need to start the prepared Docker container and wait until it is ready.

docker run -p 5432:5432 lukasmartinelli/natural-earth-postgis

You can also use the Kitematic GUI⁠ and search for natural earth postgis to spin up the container.

⁠Connect

You can now use psql or any other PostgreSQL client to connect to the PostGIS database naturalearth. Use the user naturalearth with the password naturalearth.

psql --host localhost --user naturalearth --db naturalearth --password
SettingValue
Databasenaturalearth
Usernaturalearth
Passwordnaturalearth
⁠Run alongside existing PostgreSQL

If you run the container on your local host and there is already PostgreSQL database running you can map the container to a different port.

docker run -p 5433:5432 lukasmartinelli/natural-earth-postgis
psql --host localhost --port 5433 --user naturalearth --db naturalearth --password

⁠Postgis Editor

To get started analyzing the data I recommend to use postgis-studio⁠.

Tag summary

Content type

Image

Digest

Size

408.8 MB

Last updated

almost 9 years ago

docker pull lukasmartinelli/natural-earth-postgis