Tag Archives: schedule

WhichBus Real-time Trip Planning Takes the Long Way Around

This is not how we would get to the U Village Apple Store. (Image: WhichBus)
This is not how we would get to the U Village Apple Store. (Image: WhichBus)

Last August, the new WhichBus online app reached private beta; this week, they’re open to the public at WhichBus.org, helping you plan your next trip on King County transit.

What distinguishes them from OneBusAway and its real-time when’s-the-next-bus info, is their trip-planning assistance. WhichBus is also built on real-time bus movement, but the interface is based on getting you from Point A to Point B.

It’s beautifully simple (and award-winning). You can write in your locations of choice (or tell it to determine your location for you), and the search function has gotten much, much better at using place names like “Space Needle” instead of requiring specific addresses.

Seattle’s internecine transit system, with its dearth of system and route maps and schedules, makes this kind of service a necessity. But I can’t advise use of WhichBus for newbies yet. For one thing, there’s no app version available — they’re waiting for Apple approval.

For another, you just can’t trust it: To the right, you see it delivering what looks like an impossibly circuitous (if not downright impossible) route from Capitol Hill to the University Village Apple Store. I’ve tested a few routes on it, and it seems overly inclined to direct you to downtown to pick up a transfer to a bus actually heading in the direction you want. Downtown plus a transfer makes almost any trip in Seattle take an hour.

If you’re starting from Seattle Center and trying to get to Capitol Hill, WhichBus quite rightly suggests the #8. But if you’re starting from Capitol Hill, it suggests you take the #10 or #12 downtown, then catch a bus to the Center, which — as slow as the #8 bus is — is usually a longer route. Presumably, all this requires is some algorithmic tweaking, but unless you know Seattle’s bus system well enough to know you’re being had, I’d wait a bit on this.

 

Smartphone Apps Track Vaccination Shots for Tots

With Washington State in a pertussis epidemic — a King County baby died of whooping cough mid-December — there’s more interest in vaccinations, especially among new parents. Pertussis comes with a caveat, which is that the newborn are best protected by vaccinated adults, since it takes a series of shots to build immunity.

As new parents quickly learn, managing the series of shots that is a complete vaccination schedule is a daunting task. The CDC offers schedules in “easy-to-read” formats, but if there’s anything that’s suited to a smartphone, it’s this.

Search on “vaccination” in the iTunes app store, and you’ll see a wealth of results, from the American College of Physicians Immunization Advisor (aimed at medical professionals) to all-in-one milestone-guide apps like Baby Sense and Tot Tracker, which include vaccination suggestions. (There are also apps that sort out travel vaccinations for you.)

The Vaccination Scheduler app ($0.99), in contrast, does only that — it helps parents manage their children’s vaccination schedules, in more than 90 countries. Founder David Freuden says the app’s country-specific vaccination schedules are based on data from the World Health Organisation (WHO), cross checked with the U.S.’s Center for Disease Control and Prevention (CDC). The app’s information is updated whenever WHO or the CDC publish new data.

The idea was to make it as easy as possible to see a child’s immunization schedule, and also to be reminded ahead of each visit to the doctor’s office. Last November, it was rated the #1 New Medical App by Apple. On the home screen, you’re prompted to enter your child’s name (it tracks up to six) and date of birth, and it provides you with a suggested schedule. As you complete the immunizations, they transfer into History, so you can call up who’s gotten what shot.

You can tell the app to email you vaccination reports (a PDF) that shows the completed vaccinations (vaccination name, date, your notes) as well as what’s up next. In later days, that record may be one of the most useful things; the primary factor behind the rise of pertussis, for instance, is that kids may need booster shots more quickly than anticipated. Knowing exactly when children got every single one of their shots, years later, can be critical.

What’s Wrong with One Bus Away?

You ask, we answer! It is not just you, Trevor. For all of you who have been noticing crazily delayed and “phantom” buses on Seattle’s favorite transit app, OneBusAway, there’s a reason for that.

Ironically, the problem stems from King County Metro’s long-awaited upgrade to on-board GPS, which, when complete, will allow pinpointy real-time speed and location data. As Seattle Transit Blog’s Oran explains:

The problem with King County Metro’s real-time data is a complex one. It involves the combination of two vehicle location systems (the old odometer based system and the new GPS based system) and the translation of data from those systems into a format that OneBusAway understands.

OneBusAway software engineer S. Morris Rose goes into more detail on where the problem lies*:

OneBusAway doesn’t do its own arrival prediction–instead, we rely upon data from others, who in turn run their own or commercial software. This arrival prediction data comes from the agencies themselves for buses that use GPS; and from MyBus for buses using the older AVL system.

Metro has, a little belatedly, it seems, decided to try to remedy the “garbage out” issue rather than wait for the GPS conversion to finish up. Rose told Oran that “work is underway to address the problem with meetings between OneBusAway and Metro engineers.”

UPDATE: Good news! Here are some results of that “work underway,” per Rose:

1. The schedule data that I just pushed for tonight’s commute seems to be the best we’ve had since the February “shakeup.” In particular, southbound route 60 trips are back after a… holiday… of more than a month. And so are a bunch of  “DART” trips.
2. The creator of OBA–Brian Ferris [a saint among men-ed.]–has found and fixed some problems with double-reporting. Also landed today.
3. The schedule data will soon be more reliable, thanks to changes at KCM in how it’s going to be generated–soon, and surely by the next “shakeup.”
4. The legacy buses will be gone by August.

This is all to the good, because as it happens, many people try to catch the bus on time every day. And knowingly persisting with feeding them bad information from a formerly trusted source seems, you know, like another one of those instances where Metro is failing to consider the needs of their passengers first.

UPDATE: I got to wondering how many passengers, and asked Rose at OBA. He says that, monthly, 100,000 people use OneBusAway on their mobile phones. As a general rule, of course, you wouldn’t want to make 100,000 people miss their bus.

Metro spokesperson Linda Thielke, commenting on Seattle Transit Blog, argues that this isn’t all Metro’s fault. “[W]e cannot blame having two streams of data for all the problems users are currently experiencing,” she writes. I emailed to ask what we could blame the problems on, noting that things seemed to take a turn for the worse about six months ago. Thielke replied:

[Y]es, you are right about things getting worse last October. On our end, we had a very big service change with multiple data loads. Not every load was perfect, so updates had to be sent out. On the receiving end of those data streams, the app developers/maintainers need to manipulate the data and update their prediction formulas.

This appears to point to the concerns that Metro chief Kevin Desmond, in 2009, had about “grassroots” bus trackers like OneBusAway: whether they would reliably be able to interface with Metro’s data, whether people would treat them as Metro’s responsibility, and whether widespread adoption of a particular non-Metro bus tracker would make the ownership question moot. If 100,000 of your customers use OneBusAway, you really, really want it to work well even if you don’t own it.

In its January/February 2012 newsletter, Metro announced a 13-month contract with the University of Washington to support OneBusAway. Metro, Pierce Transit, and Sound Transit each put in $50,000 for the project. (Their estimated OBA population was 50,000 bus riders per day.) So we can hope that optimization is already in progress.

*For the truly wonky among you, Rose spells out exactly what the challenges are below:

The big challenge on the real-time data has been integrating data from the trips on vehicles with the legacy odometry-based hardware with data from the trips on vehicles with the newer GPS hardware.

For the legacy trips, OBA depends upon a service called MyBus, which, along with the UI known as BusView, was created about a decade ago by industry pioneer Dan Dailey and is still in use today– though by far the majority of end-users are using the OBA interface.

In order for BusView to report on the location of vehicles with the new hardware, MyBus consumes “legacized” GPS data. That leads to a non-ideal situation where the same trip, if GPS, is reported twice to OBA: once from KCM, and again from MyBus. When OBA tells an outright lie about the position of a bus, or when a bus appears to be in two places at once- it’s because that process has failed.

Now, we need good schedule data, too. If–for example–a trip is in the schedule data but never leaves the base, OBA is still going to report on it. That’s because real-time data is a sometimes thing. We judge it better to report the schedule data to the end user than to ignore a trip that isn’t generating positional records.

In contrast, if we get reports in the real-time stream about a trip we can’t identify in the schedule, we keep silent about it. What could we say?

We can look at the real-time data and see that there are problems with the schedule data– some percentage of the locations that are being reported are for trips that don’t exist. You can see it from the other end, too– some percentage of the arrival predictions are labeled “scheduled departure” instead of “late,” “early,” or “on time.” The more of those, the worse.