Public Repository

Last pushed: 2 years ago
Short Description
sample and demo tessera
Full Description

build

docker build -t kurosuke/tessera .

Docker file

FROM node
MAINTAINER kurosuke

ENV tessera_dir /tessera
RUN mkdir ${tessera_dir}
WORKDIR ${tessera_dir}
# RUN npm install -g tessera@0.6.1
RUN npm install -g tessera@0.8.0
RUN npm install -g mbtiles tilelive-vector tilelive-xray

run

ex mapfile /local_path/coastline.mbtiles

docker run --name kurosuke-tessera -d -p 8080:8080 -v /local_path:/map kurosuke/tessera tessera mbtiles:///map/coastline.mbtiles

run test

docker run -it --rm -p 8080:8080  -v /local_path:/map kurosuke/tessera tessera mbtiles:///map/coastline.mbtiles

service

http://`docker-machine ip default`:8081/

color setting

docker cp layer.xml `dl`:/usr/local/lib/node_modules/tilelive-vector/templates
docker cp index.js /usr/local/lib/node_modules/tilelive-vector
Docker Pull Command
Owner
kurosuke

Comments (0)