Bus Plotter III: Client Side Extrapolation and Snap to Path

September 25th, 2010
mbta, mbtaplot, programming, python, tech, transport
The bus plotter now "snaps" estimated positions to the appropriate route if they are close enough. I also added checkboxes so you can control whether estimation and snapping are on (this also allows visual inspection of how well they are doing). I wrote all of these in python on the server side first because I know python better and it was easier, but I just finished moving them to the browser. This dramatically decreases the number of requests for bus locations.

Here it is: mbtaplot

Comment via: substack

Recent posts on blogs I like:

How to Make a Christmas Wreath

Yesterday, I made a Christmas wreath. Here's how to make one. First, find an evergreen tree near your house. Clip off a few branches from the tree. Try to have as many leaves or needles on the branches as possible. Next, bring them home. What I usu…

via Anna Wise's Blog Posts December 6, 2025

Live with Linch

A recording from Ozy Brennan and Linch's live video

via Thing of Things December 5, 2025

Against the Teapot Hold in Contra Dancing

The teapot hold is the most dangerous common contra dancing figure, so I’ve been avoiding it. The teapot hold, sometimes called a "courtesy turn hold,” requires one dancer to connect with their hand behind their back. When I realized I could avoid put…

via Emma Azelborn August 25, 2025

more     (via openring)