Sat 16 Feb 2008
The other day, a friend sent through a link to an interesting “new” technology that Apple have applied for a patent for - podmaps. Reading through the article it seemed oddly familiar, perhaps because I came up with the same idea two years ago. As most good ideas do, this one came about over a few beers when someone suggested that Multimap should do a podcast. Of course the idea of a Multimap podcast was perhaps a little odd, but it did get me thinking about what we could do with podcasts.
After a little investigation and playing around with Apple’s “ChapterTool” I knocked up the Multimap Travel Directions Podcast. You should be able to try it by downloading the file and launching it in either iTunes or Quicktime. It takes advantage of all the great features available to podcast files. The file is split into “chapters” with each chapter being a step of the route.
Each chapter has audio with a computer voice talking you through the directions for that step, an image attached to it which shows a map of that step, the text is included as the “title” (and is readable on your iPod’s screen) and there’s even a link to the route on multimap.com for when you’re viewing the podcast on your computer. (Note that the podcast above was made 2 years ago so uses old maps and probably links to the old multimap.com, keep reading to hear about the improvements though…)
So this is all very nice, but this thing took me a few hours to make by hand, surely there’s a better way? Well with all the great APIs that Multimap provides, yes there is. Though I was busy with a few other things I played around with this idea over the following 15 months or so. Every few months I’d write a few lines of code, come across a problem, get bored and put it down again. Finally though I got past all the problems (how to tell the length, in seconds, of an audio file, how to concatenate audio snippets, how to convert to AAC, and a few more) and managed to knock up a ruby script that could take a source and a destination and give you a podcast containing the directions. That was 9 months ago though and I’ve been sitting on it since. Seeing the news on Apple’s patent application has spurred me on to releasing it.
I spent a few hours last night updating the script so that it now works with our recently launched Static Maps API meaning that you’ll see a vast improvement in the map quality. The script requires OS X to work because it uses Apple’s ChapterTool and “say” command. It also needs SoX (for various sound conversions), the Perl CPAN module Audio::Wav and the FAAC library. I’ve packaged the script into a zipfile and put a README in there with some information on using it, I mention how to get and install the 3rd party packages in there too.
There’s obviously lots of improvements that could be made to the podcast, and I’m sure Apple will make many if they actually do release “podmaps”. All of the podcasts I’ve generated here have been made on my OS X Tiger installation, if you have Leopard you will be able to use the new speech synthesis voice that came with it to make better sounding podcasts. All the routes generated are currently driving directions but it would be a simple tweak to make walking directions. Extra functionality could also be added using more Multimap API functionality, such as highlighting places to eat as you’re passing them and things like that. For now I just thought I’d release it as-is and see what people think.
So, please download the script, play around with it, and let me know in the comments what you think of it. It might be fiddly to get it working but rather than get too technical in this post I thought I’d put that sort of thing into the README files. If you haven’t already, you’ll need to sign up for the Multimap Open API to get a key to use. Here’s a few more routes to give you an idea of what it can do too:
- From Euston station to Multimap’s office on Fleet Street.
- From Multimap’s office to Covent Garden.
- From Boston, MA to Cambridge, MA
Technorati tags: apple, ipod, podmap, routes, map, multimap, maps
February 16th, 2008 at 2:24 pm
Great stuff, although I haven’t a mac, the newer podmaps can be played in mplayer.
I’m interested to know why someone may subscribe to a podmap.
One example I can think of would be for tourism, subscribe to our weekly podmap of historical walking tours around our city. Pub crawls, cycling routes..
February 16th, 2008 at 4:13 pm
Tim - One thing we thought would work very well would be if your saved searches and recent searches on Multimap were available as podcast RSS feeds. That way any route that you searched for on Multimap could end up on your iPod without you actually having to do anything. Generally these would be best created for individual people based on the searches they perform.
I do think there’s also a market for companies making these available on their own sites too. For instance you might offer a podcast file giving directions from the airport to your office, or from the train station to your office (see above
February 17th, 2008 at 12:30 am
I have to agree with Tim on this one. Personally I don’t see much use to get podcasts of my recent searches, or any searches for that matter. It’s much easier to just print out the map and throw it away when I’m done with it. Very rarely I reuse maps I printed, if ever. But then, I don’t really print directions maps very often, maybe it’s better this way than print, I can’t judge.
However audio tours of areas sounds like a great idea. You go to a web site about an area you’re interested in, download the podcast and later when you’re in that area you can get detailed information about POIs and their location on the map. Now, I can see the market there.
I see the use of this when there is a need to put quite a lot of information about certain points on the map which would not work very well on print. eGuide.
February 17th, 2008 at 8:21 pm
Tyom - not my fault you don’t go anywhere!
It may well be a niche thing, but the point of the RSS integration would be that you don’t actually have to do anything once you’ve subscribed. So if you’re out on the road and you left the printout in the printer, the map and route will already be there on your iPod.
Using this tech for audio tours would definitely be a good idea though, being able to show related pics and perhaps maps too could be great.
February 21st, 2008 at 9:30 am
[...] สำหรับท่านใดที่อยากจะทดลองนำแนวคิดนี้ไปพัฒนา ก็สามารถไปอ่านรายละเอียดและแนวคิดพัฒนาของ john(นักพัฒนาอิสระ) ซึ่งได้ทดลองทำโดยใช้แผนที่จาก mutimap และบันทึกเสียงพูดอธิบายเส้นทางในรูปแบบไฟล์ m4b และก็มี sourcecode ตัวอย่างให้ศึกษาได้ที่ http://blog.johnmckerrell.com/2008/02/16/apple-invents-ipod-maps-podmaps/ [...]