Vector tiles for the library map project.
The LibraryData database produces a CSV of libraries every night. The LibraryData API also exposes the library locations as GeoJSON. This repository contains scripts that will extract this GeoJSON on a nightly basis and convert it into static vector tiles.
Those vector tiles are then available as Mapbox Vector Tiles for use in web maps.
The process is as follows:
download_libraries.py
).\libraries
directory (see generate.sh
)This repository is published as a GitHub pages site, which makes the tiles available in high performance web hosting.
These tiles are made available via GitHub pages and a custom domain. They are available at https://tiles.librarymap.co.uk/libraries/{z}/{x}/{y}.mvt
The tiles are from data compiled by the public and by public library services. They are licensed under the Open Government Licence.
Code in this repository is available under the MIT Licence.