Coder Social home page Coder Social logo

sputnik-maps / gopnik Goto Github PK

View Code? Open in Web Editor NEW
153.0 26.0 32.0 1.28 MB

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

License: BSD 2-Clause "Simplified" License

Shell 2.32% HTML 0.33% CMake 12.52% C++ 8.23% Protocol Buffer 0.15% Go 71.39% CSS 4.10% JavaScript 0.57% Thrift 0.39%

gopnik's Introduction

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.

gopnik's People

Contributors

dooman87 avatar lightscore avatar noxiouz avatar orofarne avatar wlredeye avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gopnik's Issues

Thrift error while trying to get tile

I built a gopnik on Ubuntu 14.04, but when I'm trying to run the example (example/index.html) then I'm getting this error:

2016/04/10 02:20:45 error processing request: Incorrect frame size (1195725856)

OSM stylesheet

Hello!
Sorry for offtopic. I accidentally found nice-looking map at http://maps.sputnik.ru/ .
What CartoCSS stylesheet do you use to render it? Do you plan to publish the stylesheet at Github?
Many thanks

Questions

Hello,

How do you configure and operate gopnik for multiple RenderPools? (I guess it's the term)

What I wish to objectively achieve is: have two options of OSM styles - a custom and the original - want both cached and my applications should reach one or another, depending on it's needs.

Thanks in advance

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.