• Stars
    star
    153
  • Rank 243,368 (Top 5 %)
  • Language
    Go
  • License
    BSD 2-Clause "Sim...
  • Created almost 10 years ago
  • Updated almost 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Gopnik is a tile server and a render for slippy map based on mapnik library.

GOPNIK

Gopnik is a tile server and a render for slippy map based on mapnik library. See sputnik-maps.github.io/gopnik

BUILD

./bootstrap.bash
./build.bash

BUILD AND RUN USING DOCKER

  • To build an image:

$ docker build -t gopnik .

  • Run gopnik server with example:

$ docker run -it --rm -p 8080:8080 -p 9090:9090 gopnik

To see an example open example/index.html in your favorite browser and zoom out a map to level 1.

Image is exposing volume /gopnik_data/. You can customise configuration by mounting your volume with config.json file inside and other helper stuff, e.g. styles. Also, you can use this image as a base image for your configurations.