Demonstrates how frequently OS data is updated. See it here.
There is no build process, and everything can be served statically from the root directory. One way to do this is with Live Server:
$ live-server --port=8000
The included Makefile can generate new sets of topography tiles. Gdal and Tippecanoe must be installed first. To build the tiles there needs to be a sources
directory containing the OS MasterMap tiles (.gz
format) that you want to use. There also needs to be a building heights CSV file. Update the Makefile to include the correct filename for the building heights. Then run:
$ make topography
This will create a new topography
directory, with a folder for each tileset, in Mapbox Vector Tile ZXY format. The -j
flag can be used to parallelise this, as it might be slow otherwise. After they've been created, you will need to update main-page.js
to specify the name of each tile.
The Makefile can also generate new sets of terrain tiles. Gdal, Rio, Rio-RGBify, and MB-Util must be installed first. To build the tiles there needs to be a sources
directory containing the OS Terrain 5 (or Terrain 50) tile (.zip
format) that you want to use. Then run:
$ make terrain
This will create a new terrain
directory with the tileset in Mapbox Terrain-RGB ZXY format.