Coffee: Two Minutes from Anywhere

Be sure to subscribe for updates on this and all my other data analysis projects!

I live in Seattle, the self proclaimed "coffee capitol" of the USA. We have a Starbucks on every corner downtown, independent cafes all over, and even some Starbucks incognito as indie coffee stores. It's a wonderfully caffeinated culture we're brewing out here.

A long standing joke among my friends at the University of Washington (UW): we drink so much coffee that we put a cafe in nearly every building on campus. This isn't quite true, of course, but we do have many!

While driving home from school today it occurred to me to consider the joke in a different direction: how far on UW's campus can you get from a cafe? Are you ever more than 2 minutes away from a coffee stand?

So I set about finding the answer!


To create an answer I would need to gather some basic information:
  1. A map of the UW campus with a scale bar
  2. The location of the coffee establishments 
  3. Average walking speed for humans
I grabbed the PDF of the campus map here, and a map of the food locations here. I converted the nice campus map to black/white.png file in Preview, and then manually digitized the locations from the food map using Plot Digitizer (such a handy tool!!!) Lastly, the typical walking speed for humans is ~5km/hr, according to an expert source, which matched the number I had in my mind pretty well.

Using this simple data, I read the .png map and cafe coordinates in to IDL. To make a pretty map I had to refresh my memory on how to do translucent shading. It's kind of ugly to do the fist time... the fancy trick I used to get better resolution was to manually open an X window with higher resolution than my screen. IDL didn't want to let me do this, so I had to employ PIXMAP:

WINDOW, 1, xsize=4000, ysize=4000, /PIXMAP

Then I plotted the black/white map, and grabbed the screen in to an array with im1=TVRD(/true). I added my circles fully filled in with POLYFILL and grabbed the screen again with im2=TVRD(/true). I then switched to postscript device and added the screen grabs back together with some help from D. Fanning: TVIMAGE, im1*0.75 + im2*0.25

Voila! 
2 min or bust!
Proximity to coffee map of the UW Campus. Green circles mark the cafes.
Blue = 1 minute walking distance, orange = 2 minutes.
I realize I missed a few coffee spots on campus (e.g. north campus dorms), but I've got most of 'em. The main conclusion here: for nearly all of campus you are never more than a brisk 2 minute walk from your coffee! Of course I'm counting the HUB being open (under construction), which solely fills a big region of the map and is high capacity.

The only real notable gap is in the "Quad". West campus definitely has higher numbers of cafes, and if you consider the Ave it becomes entirely one-sided. What is so impressive is the nearly continuous coverage achieved using only my simple assumptions. Further, when you look at the map in detail there  really aren't any major buildings left that could host a coffee shop.

My predictions based only on this map would be: 
  1.  The new molecular engineering building (almost finished w/ construction) will get a cafe.
  2.  A cafe would be built in the Quad, probably in Savery or maybe Smith..
However, the Quad buildings are older and smaller, and thus not likely to have a space that is appropriate for a cafe. So thus the only real prediction is that the last major gap in the coffee web will be filled with a small espresso/snack shop.

Now if you'll excuse me, it's late and I need more coffee to stay up observing through 6AM.

2 comments:

  1. Great map! I like the idea.

    There are a few coffee shops you missed:
    -The architecture building has a small, independent-from-HFS, coffee shop on the second floor.
    -The UW Medical Center has a coffee shop. This one is independent of HFS as well and is run by the hospital.
    -There is a restaurant in Conibear Shellhouse. It is frequented by athletes. I have never been there but I can only assume that there is coffee there.
    -The UW Club has a restaurant. They serve drip coffee.
    -As you mentioned in your article, Ian's Domain in McCarty Hall has a full coffee shop.

    I am not being critical of your article. I think these additional shops further prove your point. UW is swimming with coffee.

    ReplyDelete
  2. Thanks for mentioning all those, I didn't know about the Shelhouse or Architecture shops! Thanks for reading and commenting!!!!

    ReplyDelete

Inappropriate comments, advertisements, or spam will be removed.
Posts older than 2 weeks have moderated comments.
(Anonymous commenting disabled due to increasing spam)

Related Posts Plugin for WordPress, Blogger...