Coder Social home page Coder Social logo

docker-mapnik's Introduction

docker-mapnik

The purpose of this project is to provide a tile server using mapnik and tilestache.

Mapnik

Mapnik is a Free Toolkit for developing mapping applications. It's written in C++ and there are Python bindings to facilitate fast-paced agile development. It can comfortably be used for both desktop and web development

TileStache

TileStache is a Python-based server application that can serve up map tiles based on rendered geographic data.

Building docker-mapnik

Running this will build a docker image with mapnik 3.0.10 and TileStache.

git clone https://github.com/srounet/docker-mapnik
cd docker-mapnik
docker build -t mapnik .

Running docker-mapnik

This image expose three ports 22 for ssh and 80 for Nginx/TileStache and 9001 for supervisord

sudo docker run -d -P -v $(readlink --canonicalize ressources):/etc/tilestache/ressources/ -v $(readlink --canonicalize ressources/tilestache.cfg):/etc/tilestache/tilestache.cfg --name mapnik mapnik

Image active users

The root password is toor.

Supervisord remote access

Default user and password are: ma/ma1337

Side note on tilestache

Use ressources folder to synchronize your mapnik styles. Modify tilestache.cfg according to your needs, it should be synchronized with your Docker. Don't forget to restart tilestache from uwsgi / supervisord.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.