Pallet Pilot Project

Kevin Branigan

I didn't have a chance to check out Nuit Blanche because I put wheels on a pallet and went down Spadina with a friend and made some new friends too.

I don't really know why I did this but it was fun so hey maybe that's why.

The Spadina streetcar isn't operating right now, so it wasn't that dangerous.

GPS Conversion

Kevin Branigan

Bit of a repeat project but I focused on a short and simple route in Toronto called 125 Drewry.

I fetched the shape data from the official GTFS and plotted the 2 primary shapes (east and westbound below). You can basically ignore the axis labels - they are in meters east and north of a MTM meridian I think 17T. Also I shifted the one of them up by a bit to isolate them visually.

I took the realtime GPS feed from the TTC and fetched all gps updates for this route for a single day as plotted below. (includes dead mileage on the left)

This step is a bit of a leap but it visualizes the GPS coordinates translated from physical coordinates (in meters) to progress along the GTFS shapes length over time. Vertically stratified by individual vehicle to eliminate visual overlap.

And then I overlap to be able to visually compare with the GTFS schedule.

I fed all this data into a neural network to produce predictions of future performance to produce more accurate nextbus arrival times.

I did all this (and a lot more) to power the Circular Transit Schedule and originally TTC 7 Bathurst In A Storm.

TTC Service Summaries

Kevin Branigan

I've been downloading TTC service summaries for a while. I built a parser in JS if anyone is interested, there are so many exceptional situations. Here's the original pdfs anyway.

2008 - 03/30 - 06/22 - 08/31 - 11/23
2009 - 01/04 - 02/15 - 05/10 - 06/21 - 09/06 - 10/18 - 11/22
2010 - 01/03 - 03/28 - 05/09 - 06/20 - 09/05 - 10/10 - 11/21
2011 - 01/02 - 03/27 - 05/08 - 06/19 - 09/04 - 10/09
2012 - 01/08 - 02/12 - 03/25 - 05/06 - 06/17 - 07/29 - 09/02 - 10/07 - 11/18
2013 - 01/06 - 03/31 - 05/12 - 06/23 - 09/01 - 10/13 - 11/24
2014 - 01/05 - 03/30 - 05/11 - 06/22 - 07/20 - 08/31 - 10/12 - 11/23
2015 - 01/04 - 02/15 - 03/29 - 05/10 - 06/21 - 09/06 - 10/11 - 11/22
2016 - 01/03 - 02/14 - 03/27 - 05/08 - 06/19 - 07/31 - 09/04 - 10/09 - 11/20
2017 - 01/08 - 02/12 - 03/26 - 05/07 - 06/18 - 07/30 - 09/03 - 10/15 - 11/26
2018 - 01/07 - 02/18 - 04/01 - 05/13 - 06/24 - 09/02 - 10/07 - 11/18
2019 - 01/06 - 02/17 - 03/31 - 05/12 - 06/23 - 08/04 - 09/01 - 10/13 - 11/24
2020 - 01/05 - 02/16 - 03/29 - 06/21 - 10/11 - 11/22
2021 - 01/03 - 02/14 - 03/28 - 05/09 - 06/20 - 08/01 - 09/05 - 10/10 - 11/21
2022 - 01/02 - 02/13 - 03/27 - 05/08 - 06/19 - 07/31 - 09/04 - 11/20
2023 - 01/08 - 02/12 - 03/26 - 05/07 - 06/18 - 07/30 - 09/03 - 10/08 - 11/19
2024 - 01/07 - 02/18 - 03/31 - 05/12 - 06/23 - 07/28 - 09/01 - 10/06