GithubHelp home page GithubHelp logo

billnguyensoftware / sgtaxiheatmap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jtlx/sgtaxiheatmap

0.0 1.0 0.0 5 KB

Visualize LTA's Taxi Availability Data with a heat map

HTML 23.33% JavaScript 44.90% Python 31.77%

sgtaxiheatmap's Introduction

SGTaxiHeatMap

Visualize LTA's Taxi Availability Data with a heat map

Setup

You will need to set up 2 API keys.

  1. taxi_script.js You will need to replace the tile source with your own. If you are not familiar with this, I recommend following this guide: http://leafletjs.com/examples/quick-start.html
  2. update_heat.py You will need to replace the API key field with your own which can be obtained from https://developers.data.gov.sg/

If you have set up the above correctly, update_heat.py updates the file taxi_output.json for reading by taxi_script.js. I recommend running update_heat.py once a minute. If you're on OSX or any UNIX system, a good way to start is by using cron jobs.

sgtaxiheatmap's People

Contributors

jtlx avatar

Watchers

(Bill) Hien Nguyen 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.