In Switzerland PubliBike is a popular bike-sharing company. Thanks to its openly accessible API one can extrapolate the movements of these bikes around the cities.
As a Christmas project I decided to collect this publicly available data and visualize the movement of bikes in the city of Zurich.
Purple tracks are classic bikes, while blue tracks are electric bikes.
I am not well versed with front-end development so I hope you will excuse the mediocre interface. Happy to take any questions, comments, feedback and thoughts.
A good new year to all of you!
GitHub repo: https://github.com/Yoekkul/publibiker
> We now take this file and filter the data within such that we only keep entries which fit in the Zurcih area bounding box. After this is done we obtain the road network of the city from Open Street Map. Having this information we can now estimate a shortest path between two stations and take this as a guess for the taken path. As a final step we need to estimate a timestamp for each intersection in the path. This will help us in creating a smooth animation. This process is done by linearly interpolating the time from the start location to the end location, based on the distance.
This is super clever too.
Wonderful job.