Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 2.43 KB

README.md

File metadata and controls

53 lines (36 loc) · 2.43 KB

Docker GIS

heavy weight docker image for python and command line based geospatial analysis. The docker image is tailored to cloud usage on Amazon EC2 instances, Google Compute engines etc.

The docker image is stacked to minimize build time and dependencies. The full stack contains:

  1. docker_gis
  2. docker_python_envs
  3. docker_conda_jupyter

All images are hosted on docker hub

Getting Started

  1. Get docker up and running on your cloud instance.
  2. docker run --name docker_gis -it -p 8888:8888 rutgerhofste/docker_gis:stable bash
  3. Launch the Jupyter Notebook Server. Instructions can be found here

See the section: Cloud Based solution.

When to use this image?

As you can see the image is quite large. This is the result of having a full conda root environment as well as several other pyhton GIS environments. This solution is therefore suitable for a cloud deployment. You can run this locally but your GIS analysis will benefit from suffient disk storage, plenty of CPU and RAM.

This is work in progress. In the next couple of weeks I will start working with the different python environments and install additional packages allong the way.

When not to use this image?

This is work in progress. I did not hardcode any version numbers yet so things might break when packages get updated. Also, this is a heavyweight solution. You can probably get far more efficient images online.

Wishlist:

  • parallel processing
  • sub processing
  • pickle

Building From Source

docker build rutgerhofste/gisdocker:localxx .
docker tag rutgerhofste/gisdocker:localxx rutgerhofste/gisdocker:stable
docker push rutgerhofste/gisdocker:localxx

TODO:

  • create stable tag and develop tag
  • add more packages

Current overview of environments

Name in Jupyter Name in conda Python version Eeath Engine GDAL GeoPandas ArcGIS API
Python 27 python27 2.7.14 0.1.136 2.2.4 0.3.0
Python 35 pyhton35 3.5.4 0.1.136 2.2.4 0.3.0
Python 36 python36 3.6.5
Python 36arc python36arc 3.6.5
Python 3 root 3.6.1