0.3.0 • Published 5 years ago

@ccrpc/subwaytile v0.3.0

Weekly downloads
3
License
BSD-3-Clause
Repository
-
Last release
5 years ago

Subway Tile

Unobtrusive tile server for MBTiles.

Usage

subwaytile [data_root] [tile_uris]
npm start -- [data_root] [tile_uris]

Example

subwaytile /data https://a.tile.example.com https://b.tile.example.com

Given a tileset with the path /data/research/landuse.mbtiles and the above configuration, the endpoints are:

# TileJSON
http://localhost:8080/research/landuse.json

# Tiles
https://a.tile.example.com/research/landuse/{z}/{x}/{y}.pbf
https://b.tile.example.com/research/landuse/{z}/{x}/{y}.pbf

Credits

Subway Tile was developed by Matt Yoder for the Champaign County Regional Planning Commission.

License

Subway Tile is available under the terms of the BSD 3-clause license.