I infrequently commute into Boston for work, I live beyond the subway system but there is a rail network (Commuter Rail). With childcare and other family logistics I might be doing errands in a different town before parking and hopping on a train, I had trouble doing a 'radius' search of stations (which might span lines) to plan a round-trip into the city. I built a site[1] to query the MBTA API[2] for stations and schedules, then custom js + leaflet.js[3] (an amazing product) to render a map. I have a /demo[4] resource which includes some hard-coded addresses for test purposes. A limitation is it only plots round-trips to the terminal stop (South Station) in Boston.
It's been a work-in-progress for a while. It vastly helps with my weekly plans. And as a side project to up-skill, what I'm still working on:
- UIUX and 'user flow', usability
- hosting + CICD
- integrations, optimization, caching
[1]http://cr2southstation.com/