Giter VIP home page Giter VIP logo

statistics-service's People

Contributors

bertschoovaerts avatar richeza avatar xivk avatar

Stargazers

 avatar

Watchers

 avatar

statistics-service's Issues

Not all boundaries are loaded

Following boundaries could not be imported. Some of them are a mismatch with Osm-boundaries.com and have 'null' as features:

  • Åland Islands
  • American Samoa
  • Antarctica
  • Bonaire, Sint Eustatius and Saba
  • Bouvet Island
  • Christmas Island
  • Congo, The Democratic Republic of the
  • Faroe Islands
  • Gibraltar
  • Guam
  • Isle of Man
  • Jamaica
  • Jersey
  • Marshall Islands
  • Mexico
  • Moldova, Republic of
  • Norfolk Island
  • Norway
  • Palestine, State of
  • Puerto Rico
  • Saint Barthélemy
  • Saint Helena, Ascension and Tristan da Cunha
  • Saint Martin (French part)
  • Saint Pierre and Miquelon
  • Serbia
  • Singapore
  • Svalbard and Jan Mayen
  • Taiwan, Province of China
  • Wallis and Futuna
  • Western Sahara

Ireland has a seperate problem

Enable global coverage

The current statistics service doesn't scale to the planet. We need to:

  • Add global boundaries the the production database.
  • Progressively aggregate stats to boundaries.
    • Make BikeDataProject.Statistics.Service work in a low resource environment track-by-track.
  • Make the vector tile build process handle the planet.
    • Static tiles with areas: #5
    • Build service to export statistics to json: #6

Create static vector tiles

Create static vector tiles with all areas from the database with their ids and static attributes. This tile set can then be served and merge with the dynamic statistics data client-side.

The following steps need to be executed:

  • Create a new project under tools to build the static vector tiles.
  • Serve these tiles under api.bikedataproject.org.

Build service to export statistics to json

Build a service to export the statistics to json files that can be served per area.

  • Build a worker to dump all areas and their statistics to json files on disk. Only take areas that have statistics.
  • Serve the json files under api.bikedataproject.org

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.