When Port Authority began rolling out real-time bus tracking, they banked heavily on outside developers. Instead of designing apps themselves, they've made the feed that provides live location updates available to pretty much any developer who wants it.
That's how Carnegie Mellon grad student Alex Rebert wound up designing a map that shows every real-time enabled bus in the Port Authority system dancing across the county. (Port Authority's system has had some hiccups, so not every bus may appear).
Here's a video we put together that explains how the map was developed (the map itself is a great way to kill a few hours at work). For a more thorough discussion, check out the email Q&A with Rebert below.
You wrote on Reddit that the site was a “small weekend hacking project.” What made you decide to spend a weekend on this project in particular?
A mix of unexpected free time and a bit of frustration with existing apps using the data.
The map is striking in its minimalism: There’s no detail beside the route number and location. Why did you decide not to include information about destination, whether it’s on or off-schedule, etc?
That's in part due to my laziness. More seriously, I tried to include the information that I thought was useful. [As far as I know] most people don't know the schedule. Knowing whether a bus is off schedule would not be informative. You just want to know how much time you'll have to wait, or when you should leave, or at which bus stop you should go to minimize the wait.
Concerning the directions of the buses, I thought that it could be inferred easily looking at the moving buses, but that's not the case. The buses are not updated often enough for that. I'm probably going to add that information somehow.
Based on the Reddit thread, it seems like you set up the site without Port Authority's permission. Was that hard to do undetected? Was there a reason for that?
The port authority provides an API and API keys to developer[s], which is great! I asked for a key Friday evening, but I figured that I wouldn't get it during the weekend. So instead of waiting, I checked if I could extract the data from here. It turns out you can.
Besides that, I would have used the official developer API. They seem like they're willing to increase the API quota when necessary.
Have you heard from them since the site went up?
Not really. I got my API key from them. I have yet to use it.
It’s hard not to become entranced by the buses gliding across the screen — is that a real representation of bus movement Or are you animating the difference between data points every X seconds? How does the site work?
You got it right. I animate the difference between the data every 5 seconds. It gives the map a real time feel, at the cost of adding a 5 second delay to the data you see. One could try to predict where the buses is going to be instead, and correct it when it gets new data. But that's a lot harder.
What’s the longest stretch you’ve spent just staring at the map?
Not that long. Maybe 5 minutes. It's interesting to see where all the buses are, how many in each route there are, how much distance is there between buses... I wonder what the Port Authority is doing with this data.
How many hits are you getting on the site?
I think I get 500 daily views on average now. More than 70% percent of users are people who are coming back, which is a good sign. It went up to 2,000 a couple of days after the launch due to the novelty effect. Laura Meixell's tweet brought a lot of traffic. [She's the analytics and strategy manager for mayor Bill Peduto] Users are mostly from Pittsburgh, but I got people from all over the world surprisingly.
Are you a regular Port Authority rider?
Yep. It has been my main form of transportation in the city for four years. I was glad to hear that they increased the number of buses in some routes recently!
The Port Authority has taken some heat for its roll-out of real-time tracking — in many cases, buses aren’t appearing at all. What’s your take on that? Do you worry it hurts the reliability of your map?
We should give them some slack. They introduced a feature that many riders wanted, and for that, we should give them props. I have no doubt they'll improve the data accuracy in the near future.
Is this project a work in progress, or are you finished with it?
I haven't worked on it much since I released it. I rewrote the backend to remove the 50 users limit, but that's about it. I'd like to add geolocation (so that it's easier to know when you are on the map), and display in which directions the buses are going. I'd definitely consider adding features that people request.
Got any other projects like this on the horizon?
Nothing planned right now. My startup keeps me busy enough.
Riders who take some of the city's most-ridden bus routes can rejoice: Port Authority today announced that effective immediately 17 new routes have been added to its real-time tracking system.
Those routes include the well-travelled 61s and 71s as well as the 75 and 54N — all buses that serve Oakland (see below for a full list of routes with real-time tracking).
The service allows anyone with an internet connection to see — in real-time — exactly where the next bus is and how long it will take for it to arrive.
"The more people realize how reliable [public transportation] is, the more likely they will take it," Allegheny County Executive Rich Fitzgerald said at a press conference this morning.
The system will also eventually include a texting service for those without smartphones.
Including the routes that now have real-time tracking, about 25 percent of the system has the service, Fitzgerald says — and by the end of the month, that number will be closer to 50 percent.
The remaining routes will get real-time tracking in clusters of 10-15 new routes every couple weeks, with the goal of a full roll-out on buses by years' end. Tracking for T riders won't happen until next year.
The transit agency will also begin buying digital displays for high-volume stops that will show similar information; those aren't expected until the middle of 2015.
Riders can take advantage of the system by going to realtime.portauthority.org or by downloading smartphone apps "Tiramisu," "Transit" or "Transit Times Plus."
The system will cost $3.6 million for a full roll-out on buses and $5 million for the T, Fitzgerald said.
Here's a full list of routes that are live right now:
71A, 71B, 71C, 71D
61A, 61B, 61C, 61D
The Port Authority board voted unanimously this morning to amend its $183.5 million capital budget to move $1.56 million toward a study of Bus Rapid Transit — a project that would create special bus service between Downtown and Oakland.
The $4 million study is a necessary step to qualify for federal funding because the Federal Transit Administration requires an environmental analysis of the project as well as engineering plans, including "vetting" alternative routes (converting a lane of Forbes Avenue or additional lane on Fifth Avenue to be bus-only, for instance). The transit agency hopes to apply for federal funds by August 2016, board chairman Robert Hurley says.
"This will bring us to nearly three quarters of the funding for this project," says Hurley, referring to the BRT study. The county is kicking in $1 million — and there is $440,000 remaining on an existing $1.5 million BRT contract with Parsons Brinckerhoff — a study that "was stalled as a new administration came in." Hurley said he anticipates going back to the county for the remaining $1 million.
The project will require coordination between the Port Authority, city and county governments — and while mayor Bill Peduto has signaled his support for BRT in the past, he has not been as vocal an advocate as county executive Rich Fitzgerald, who has estimated the total cost of BRT in the neighborhood of $200 million.
"There will be a point in time where what we're going will have to be done in conjunction with the city," Hurley says, adding that meetings with the Peduto administration have been productive and "they're full-fledged behind this."
The resolution approved this morning moves $1.56 million that was previously approved for "North Braddock Avenue Bridge Painting and Repairs" — though Hurley says the move will leave $3.34 million for the bridge project and won't affect other capital projects: "We're not robbing Peter to pay Paul."
LGBTQIA people are people too. I saw some of the reactions to Iggy Azalea's apology…
I am saddened to hear of Lucy's passing. We had many opportunities to work together…
I got my sense of determination to change from my parents but the decision to…