Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.19 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.19 KB

MBTA TILESERVER

Runs a tileserver using tileserver-gl as well as a static file server using http-server for styles, fonts, and sprites.

Vector tiles come from Geofabrik and sprites from Versatiles.

Running the server

Get the latest vector tiles.

%> ./update-data

Run docker compose.

%> docker compose -f deploy/docker-compose.yml up --build

You can then use maplibre-gl.

new maplibregl.Map({
  ...,
  style: 'http://localhost:8888/style.json',
});

Roadmap

  • Serve fonts and sprites out of tileserver-gl and remove the static server
  • Create glyphs for Inter so our font styles match the brand
  • Add New Hampshire and Rhode Island
    • It doesn't look like simply adding multiple states works as the tiles overlap
    • Either use the entire NE (which is a 1.5GB file) or figure out how to combine multiple states