All Projects → urbica → tessella

urbica / tessella

Licence: MIT license
Lightweight Node.js Mapbox Vector Tiles server

Programming Languages

javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to tessella

mapbox-filter
Utilities for filtering vector mbitles files according to Mapbox GL styles
Stars: ✭ 24 (-71.08%)
Mutual labels:  mbtiles
mbmatch
An MBTiles server for PBF, which is also a map matcher.
Stars: ✭ 34 (-59.04%)
Mutual labels:  mbtiles
tilegrinder
♻️ A node.js GIS helper library for easy alteration of Vector Tiles in an MBTiles container
Stars: ✭ 64 (-22.89%)
Mutual labels:  mbtiles
terrain-rgb
A detailed tutorial about how to convert geo-tiff files containing Digital Elevation Model (DEM) data into a pyramid of png tiles
Stars: ✭ 65 (-21.69%)
Mutual labels:  mbtiles
openvtpk
Repackaging ESRI's VTPK into an MBTiles container
Stars: ✭ 34 (-59.04%)
Mutual labels:  mbtiles
tile-map-service-net5
Tile server for .NET 5 platform with MBTiles, Filesystem, GeoTIFF, HTTP sources and XYZ, TMS, WMTS, WMS endpoints (protocols support)
Stars: ✭ 45 (-45.78%)
Mutual labels:  mbtiles

tessella

npm version npm downloads build status docker pulls

tessella is a lightweight Node.js Mapbox Vector Tiles server. Inspired by tessera.

Installation

tessella requires node v7.6.0 or higher for ES2015 and async function support.

npm install tessella -g
npm install -g <tilelive modules...>

...or build from source

git clone https://github.com/urbica/tessella.git
cd tessella
npm i

Usage

Usage: tessella [options] [URI]

where [uri] is tilelive URI to serve and [options] is any of:
  --port - port to run on (default: 4000)
  --socket - use Unix socket instead of port
  --cacheSize - cache size in MB (default: 10)
  --sourceCacheSize - source cache size in # of sources (default: 6)
  --version - returns running version then exits

Examples

MBTiles

npm install -g @mapbox/mbtiles
tessella mbtiles://./whatever.mbtiles

PostGIS

npm install -g tilelive-postgis
tessella postgis://localhost/test?table=tableName&geometry_field=geom

Using with Leaflet

const map = L.map("map").setView([0, 0], 0);
L.tileLayer("http://localhost:4000/{z}/{x}/{y}.png").addTo(map);

with retina support:

const map = L.map("map").setView([0, 0], 0);
L.tileLayer("http://localhost:4000/{z}/{x}/{y}{r}.png").addTo(map, {
  detectRetina: true
});

Using with Docker

docker run -d -p 4000:4000 <URI>

Where URI is is tilelive URI to serve.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].