Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.74 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.74 KB

docker-giscli

GIS CLI tools

The following tools are here installed:

LAStools license

If you try to clone-n-build this image it will not work. The reason is because LAStools is not (yet) included in this repo, and at some point of the building -- Dockerfile -- LAStools is expected to be there. The solution is the simplest possible, you have to download LAStools -- http://lastools.org/download/LAStools.zip -- and place it, as it is, the .zip file, at ~/docker-giscli/dockerfile/LAStools/LAStools.zip.

Now you're good to go:

$ cd ~/docker-giscli/dockerfile
$ docker build -t giscli .

The reason for this uncomfortable situation I made you pass through is because I don't understand the license LAStools is under. On one hand they say it is proprietary and we should pay for it, but the tools are free to download -- the ones I linked before. Apparently, some tools are under private/payed use, while the core tools are free to use. In any case, until it is clear to me how it works, I will kindly ask you to download and build it on your own.

How to use it

Once the container is initialized a Bash command-line will be at your disposal. Besides the GIS tools listed above, the environment provides a Miniconda-3 (aka Anaconda) environment. Which means you have Python and all conda/virtualenvs structure at your disposal.

Example of running the container with your local "tmp/" directory mounted inside container's /work/host.

$ docker run -it --rm -v $PWD/tmp:/work/host chbrandt/giscli

/.\