GithubHelp home page GithubHelp logo

greco / cartodbtileserver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vizzuality/cartodbtileserver

0.0 1.0 0.0 64 KB

simple, fast nodejs + postgis tile server

Home Page: https://github.com/springmeyer/coalition

cartodbtileserver's Introduction

Tyler. A simple nodejs postgis maptile server

Depends

  • NodeJS > 0.4.4
  • Mapnik (latest trunk >r2397)
  • Node-mapnik
  • Npm
  • Cluster > 0.5.3
  • Connect > 1.1.5
  • Underscore.js > 1.1.5
  • node-redis > 0.1.2

for Development

  • expresso

Installation

Install node:

$ wget http://nodejs.org/dist/node-v0.4.4.tar.gz $ tar xvf node-v0.4.4.tar.gz $ ./configure $ make $ make install

Install node-mapnik:

$ git clone git://github.com/mapnik/node-mapnik.git $ cd node-mapnik $ ./configure $ make $ make install

Install npm (node package manager)

$ curl http://npmjs.org/install.sh | sh

Install deps via npm:

$ npm install cluster connect node-redis underscore

Configuration

Edit the postgis settings in 'config/environments/[environment].js' to match your system. Also, fixup the few hardcoded sample queries in 'public/index.html' to match your postgis tables.

Usage

Start the server by typing:

$ node app.js development tyler_new

Then visit http://localhost:3000/. Choose a style type and a postgis table.

Todo

  • Documentation
  • Benchmarking framework
  • distribute rendering?
  • tile pipelineing over websockets to remove the http request cycle
  • Authentication
  • Tile Caching and invalidation

cartodbtileserver's People

Watchers

 avatar

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.