@pirxpilot/tileserver-gl-tiny

3.2.3 • Public • Published

NPM version Build Status Dependency Status

TileServer GL Tiny

This is a slimmed down clone of the tileserver-gl package. It's intended to be used as a standalone server for tiles in mbtiles format.

The following features of the original are not supported:

  • server side rasterization
  • font server - if needed use map-glyph-server
  • CORS support - if needed use behind NGINX or alternative

Installation

npm install -g @pirxpilot/tileserver-gl-tiny

You will also need mbtiles

Usage

tileserver-gl-tiny --config path/to/config/file

Config file can be in .json or yaml. If config file name is not specified tilesrc config file is located according to the rules describe in the rc project.

Config file example:

port = 5080
max-age = 10d

[options.paths]

; this is where .mbtiles files are located
root = /var/lib/tiles

[data.v3]

mbtiles = planet.mbtiles

; add more [data.xxx] section to serve additional .mbtiles

Documentation

Most of the tileserver-gl documentation is relevant - specifically parts related to conig format.

Readme

Keywords

none

Package Sidebar

Install

npm i @pirxpilot/tileserver-gl-tiny

Weekly Downloads

0

Version

3.2.3

License

BSD-2-Clause

Unpacked Size

53.8 kB

Total Files

8

Last publish

Collaborators

  • pirxpilot