How to

MapTiler Pro in Docker

MapTiler Pro in Docker

Complete application with all its dependencies is available in a container compatible with any Linux system. Thanks to Docker it is very easy to install MapTiler on a node of a cluster or any Linux distribution even with a simple command.

See MapTiler Docker Hub repository

One command to run MapTiler Pro on the command-line anywhere where docker is available:

docker run -ti --rm -v $(pwd):/data klokantech/maptiler maptiler -help



The actual directory is directly mapped to docker and is writeable. All relative paths and local bash autocomplete is usable.

Your license can be passed with -e MAPTILER_LICENSE=… parameter to docker. Without license MapTiler runs in the demo mode (with a watermark). The activation process for MapTiler supports only online activation via environment variable MAPTILER_LICENSE. The software will be automatically deactivated in the end.

Rendering

A complete rendering command:

docker run -ti --rm -v $(pwd):/data -e MAPTILER_LICENSE=AAAA-BBBB-CCCC-DDDD-EEEE-FFFF klokantech/maptiler maptiler -o outputdir input.tif



Alias

You can create an alias for more beautiful usage:

alias maptiler="docker run -ti --rm -v $(pwd):/data -e MAPTILER_LICENSE=AAAA-BBBB-CCCC-DDDD-EEEE-FFFF klokantech/maptiler maptiler"



and directly start to process geodata in a current directory:

maptiler -o merged_output_dir input1.tif input2.tif



This can be easily used on computing clouds such as Google Compute Engine or Amazon EC2.

For more parameters and details of use check the manual: http://manual.maptiler.com/

Docker logo