Skip to content

A docker-compose based environment with different geospatial tools such as PostgreSQL + PostGIS and Jupyter

License

Notifications You must be signed in to change notification settings

Mmoncadaisla/geo-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geo-Toolkit

What's in this repository

The environment contains the following main features,

  • PostgreSQL 12

  • PostGIS 3.0.2

  • Python 3.8

  • Jupyter

  • Libspatialindex

  • Libpostal

  • Python geospatial packages: GeoPandas, GeoPy, GeoAlchemy2, psycopg2, CARTOframes [develop]

Repository file structure

|____README.md
|____postgres
| |____alpine
| |____initdb-postgis.sh
| |____Dockerfile
| |____update-postgis.sh
|____docker-compose.yml
|____.git
|____data
| |____.gitkeep
|____notebooks
|____jupyter
| |____Dockerfile
| |____fonts

Set up with docker-compose

NOTE: to install this environment both docker and docker-compose are required

  1. Clone the repository using git
git clone https://github.com/Mmoncadaisla/geo-toolkit.git
  1. Move to the main repository's folder

  2. Build with docker-compose build

docker-compose build
  1. Start the corresponding containers with docker-compose up
docker-compose up
  1. Access the link to access Jupyter within the notebooks directory

To access the database through psql you could run the following,

  1. Open a new terminal in the postgres container
docker exec -it geo-toolkit_postgres_1 /bin/bash
  1. Initialize psql with user postgres
psql -U postgres

About

A docker-compose based environment with different geospatial tools such as PostgreSQL + PostGIS and Jupyter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published