This repository has been archived by the owner. It is now read-only.
PROJECT MOVED: Server for hosting maps powered by vector tiles and JSON GL styles. Based of tileserver-gl.
Switch branches/tags
Clone or download
Pull request Compare This branch is 2 commits ahead, 359 commits behind klokantech:master.
Latest commit f4eba89 Dec 30, 2016
Permalink
Failed to load latest commit information.
README.md Update README.md Dec 30, 2016

README.md

The source code is now part of the original TileServer GL repo: https://github.com/klokantech/tileserver-gl

A light variant of tileserver-gl for serving MBTiles with predefined Mapbox GL styles. Built to support serving vector tiles from OSM2VectorTiles to modern client.

This trimmed tileserver does not contain server side rendering into raster tiles for legacy clients, GIS and printing, but it is easier to install and without any binary dependencies in npm. It runs everywhere where node.js runs.

For production deploy check the tileserver-gl project and manual.

Get Started

Install tileserver-gl-light from npm.

npm install -g tileserver-gl-light

Now download vector tiles from OSM2VectorTiles.

curl -o zurich_switzerland.mbtiles https://osm2vectortiles-downloads.os.zhdk.cloud.switch.ch/v2.0/extracts/zurich_switzerland.mbtiles

Start tileserver-gl-light with the downloaded vector tiles.

tileserver-gl-light zurich_switzerland.mbtiles

Style and glyphs

The used styles are derived from Mapbox Open Styles and are maintained as npm dependency in a separate repo.