Adding Wikipedia articles to Google Maps

Google started baking some mashups into the main Google Maps interface earlier this week. As a Wikipedia editor, the one that intrigued me was the ability to hover over a feature on a map and click through to a related Wikipedia article. The question I had was, how do I change my article so that it appears on the map?

Fortunately, it appears to be a pretty simple process, with only one complicated bit, the first one:

  1. Find the place. That is, the place that the article is about. Google Maps is of course your friend here. Once you’ve found the location, double-click to center it in your browser.
  2. Get the coordinates.  This actually isn’t as hard as you might think, thanks (again) to Google Maps. The article Obtaining geographic coordinates provides some helpful suggestions, with a special section on Google Maps. I particularly like the bookmarklet provided, because it makes the workflow so simple–find the place as above, then use the bookmarklet to get the coordinates already in a template. Whatever your method, you’ll want to use the appropriate precision.
  3. Add the appropriate template to the article. There are a few different templates that add geographic coordinates to an article, and some Infobox templates (including Template: Infobox University) include a coordinate parameter. But if you use the bookmarklet I mentioned above, you get the coordinates handed to you in a coord template, which is the one you want to use for compatibility with Google. The only change I’d make is to add the display=title parameter, which floats the coordinates up to the top of the page.
  4. Set the template options. The two I recommend are display=title and type= the appropriate value; for a building, use landmark. This is important because it sets the zoom to the appropriate value.
  5. Preview, making sure to click through and check the map link, then publish.

As an example, I added coordinates to the article about the School of Engineering and Applied Science. Now the next question will be: how long does it take those coordinates to percolate over to Google Maps? I suppose we’ll find out.

Beautiful day

It was an amazing weekend. I spent the last half of last week dying of some sort of cold/allergy–it was so bad that I think I was running a fever a couple of nights. But on Saturday morning I could move again. And it was a good thing: since it rained the whole previous weekend, my lawn hadn’t been cut yet and it was almost ready to start swallowing small dogs and children.

So I got the mower going for the first time in 2008. It was slow going; the grass was so long and heavy with dew that I had to empty the bag every two rows, and had to scrape the deck clean every four so that the blade wouldn’t get choked. But it was nice to start getting the outside of the house into shape again.

This should be a nice week. No Tanglewood commitments for a while, and I have a trip this weekend to DC to see Lars Bjorn and Craig Fennell, along with some other folks I haven’t seen in a very long time. The occasion: Craig’s bachelor party. Which, since we’re all in our late 30s, should be fairly mellow.

Open letter to a Glee Club student

glee club after my last lawn concert 1994

I started thinking about my days in the Virginia Glee Club a few weeks back. Probably because of my imminent 10-year reunion. Then out of the blue I got an email from a current Club member and Clubhouse resident who had found my page about my time in the group.

I reprint my reply to him here, for the ten or fifteen other Glee Club members who might see it and remember too.

Sounds like you’re having a great time with Club. I remember my days in the group fondly.

I never lived in the Clubhouse (I was planning to my fourth year but I turned into a damned Lawnie instead), but I have many fond memories of flopping on, sleeping on, and drinking on the couch. And of cleaning the house after parties. Wait, those aren’t fond memories; they’re kind of nauseating. Does the basement still flood every winter?

My fonder memories are of rehearsing in Old Cabell, B-012; of making fun of the bass section; of long bus trips to, um, sing with young women at institutions of higher (or at least more Northern) learning; and of performing some of the best music ever written. There hasn’t been a year since I graduated that I haven’t been singing with one group or another, and none of them have come close to the camaraderie of Club (well, maybe one, but that was a special case; the guys sang at my wedding, and one of them was a fellow Club alum).

The mule, however, is new to me. What’s the story there?

Hope you’re enjoying what the Club web site says is your fifth year. (I see some things haven’t changed at Virginia. 🙂 ) Please give the group my best. If you ever travel as far west as Seattle, drop in; my door is always open.

Yours in VMHLB,
Tim Jarrett
Club 1990-1994