stanguy / velostar

OpenSource tools to manipulate OpenData from Rennes / Keolis regarding the "Le Vélo Star" service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VeloStar

This repository regroups various scripts that would make use of the data provided by Keolis Rennes regarding transportation in the city of Rennes, France.

bin/fetch_and_update.rb

This script builds statistics of the Velo Star network using RRD. It fetches remote information from the Keolis API, eventually creates RRD files if needed and update those with current data (number of available bikes and slots)

bin/place_stations.rb

This scripts creates images displaying the status of the VéloStar stations. It uses different map images as background overlay. It makes use of the existing RRD files and creates an image for each period that can be fetched, allowing one to use those images to build an animation. For example:

License

All the code here is under the WTFPL, unless otherwise noted.

The XML test data are provided by Keolis Rennes and are licensed under CC-BY-NC-ND.

The map overlays were generated from OpenStreetMap and are thus © OpenStreetMap (and) contributors, CC-BY-SA.

About

OpenSource tools to manipulate OpenData from Rennes / Keolis regarding the "Le Vélo Star" service


Languages

Language:JavaScript 54.7%Language:Ruby 45.3%