From 1bb31882fa1e0d778edcaca64efa62a8995957ac Mon Sep 17 00:00:00 2001 From: Matt Burke Date: Thu, 18 May 2017 09:48:37 -0400 Subject: [PATCH] Added docker information to the README --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 0d5745e..1debe76 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,24 @@ You can concatenate multiple GeoJSON features or files together, and it will parse out the features and ignore whatever other objects it encounters. +Docker Image +------------ + +A tippecanoe Docker image can be built from source and executed as a task to +automatically install dependencies and allow tippecanoe to run on any system +supported by Docker. + +```docker +$ docker build -t tippecanoe:latest . +$ docker run -it --rm \ + -v /tiledata:/data \ + tippecanoe:latest \ + tippecanoe --output=/data/output.mbtiles /data/example.geojson +``` + +The commands above will build a Docker image from the source and compile the +latest version. The image supports all tippecanoe flags and options. + Options -------