Giter Club home page Giter Club logo

librarymap-tiles's Introduction

Library map tiles

Vector tiles for the library map project.

How it works

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:

  1. Download the latest GeoJSON from the LibraryData API (see download_libraries.py).
  2. Use tippecanoe to convert the GeoJSON to a directory of static tiles within the \libraries directory (see generate.sh)

This repository is published as a GitHub pages site, which makes the tiles available in high performance web hosting.

How to use

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

Licence

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.

librarymap-tiles's People

Contributors

actions-user avatar davebathnes avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.