Phil Gyford recently had a lovely idea of collating all the things geo tagged each day into a map for that day. It didnt take me long before I thought I’d have a go at doing this myself, it also gave me another reason to finally sit down and arrange some sort of backup of my Tweets and my FourSquare checkins.
This is all written in PHP, because well, that is what I know best. I write code very rarely, probably no more than once every year or two so I wasn’t up for learning a new language at the same time. The underpinnings of it all are a couple of scripts which get run every day and pull all of my tweets and checkins and store them locally. So most of what drives this map is actually just reading local files, rather than making API calls to the various services.
The first map below is from 2010-08-31 which is when I was down on the Isle of Wight.
Improvements I’d like to make
- The marker icons ought to differentiate between checkins and tweets
- More info shown in the boxes which appear when you click the markers, date/text maybe a thumb of an image if I included one in a tweet
- This uses the Google maps API V2, which is deprecated, I need to update it to use V3 at some point.
- Possibly have something automatically add a post to WordPress everyday. Although that might be a bit much for the front page. I’ll have to investigate options there I think.
I’d like to be able to add these enhancements soonish, free time permitting. And