Show HN: I visualized the entire history of Citi Bike in the browser
113 points| freemanjiang | 1 month ago |bikemap.nyc
You can search for your ride using Cmd + K and your Citi Bike receipt, which should give you the time of your ride and start/end station.
Everything is open source: https://github.com/freemanjiang/bikemap
Some technical details: - No backend! Processed data is stored in parquet files on a Cloudflare CDN, and queried directly by DuckDB WASM
- deck.gl w/ Mapbox for GPU-accelerated rendering of thousands of concurrent animated bikes
- Web Workers decode polyline routes and do as much precomputation as possible off the main thread
- Since only (start, end) station pairs are provided, routes are generated by querying OSRM for the shortest path between all 2,400+ station pairs
chem83|1 month ago
* Limitations *
The data only contains the start and end station for each trip, but does not contain the full path. Route geometries are computed for each (start station, end station) pair using the shortest path from OSRM.
This means that the computed routes are directionally correct but inexact. Trips that start and end at the same station are filtered out since the route geometry is ambiguous.
jotaen|1 month ago
It also would be interesting to learn how many rides had been excluded altogether, just to put things into perspective.
kyleee|1 month ago
unknown|1 month ago
[deleted]
mattmm11|1 month ago
lazarus01|1 month ago
The link above points to a 404 error page on GitHub. Looks like you forgot the hyphen in the name part of the url.
I’m working with subway data, particularly the A subway line, 32 mi long with about 2million trips over 6 months across 66 stations. Trying to train a convlstm to learn the spatiotemporal propagation of train headways.
jdlyga|1 month ago
crazygringo|1 month ago
https://www.reddit.com/r/MicromobilityNYC/comments/v457x0/9_...
Also, the 5 e-bikes probably didn't need "service", they were just waiting for battery swaps. This is by design. The docks don't charge them.
CitiBike maintenance is generally fine. They're not leaving any significant number of broken bikes or docks. I think you may have just misunderstood how it works.
wiredfool|1 month ago
jeffbee|1 month ago
big_toast|1 month ago
Cool visualization.
Do you find the OSRM shortest path routes probable for bikes? Not living in NYC, I expected pretty different paths. Say the "Hudson River Greenway" or whatever that's called.
rorylawless|1 month ago
7777777phil|1 month ago
IvoCrnkovic|1 month ago
nadis|1 month ago
This is beautifully done!
frakkingcylons|1 month ago
ge96|1 month ago
RIMR|1 month ago
leros|1 month ago
freemanjiang|1 month ago
pimlottc|1 month ago
gnfargbl|1 month ago
In Europe we often accept pretty grave restrictions of our liberty like the UK's Online Safety Act, which would never fly in the US, and we do so without much public comment.
On the other side of things, organisations in the US happily expose datasets like this one, which would give a most EU Data Protection Officers a heart attack, and nobody bats an eyelid.
tennysont|1 month ago
I've heard that releasing these sorts of data sets help competitors do market research, and thus mitigates "winner takes all" forces. NYC also tends to be fairly pro-public-datasets: https://data.cityofnewyork.us/browse?%3BsortBy=most_accessed...
freemanjiang|1 month ago
jeffbee|1 month ago
wxw|1 month ago
unknown|1 month ago
[deleted]