Small Mosaic


Categories:

/books
/career
/codinghorrors
/events
/geekstuff
/justdont
/languages
/languages/bash
/linkshot
/magazines
/meta
/misctech
/movies
/nottech
/operatingsystems
/operatingsystems/linux
/operatingsystems/linux/debian
/operatingsystems/solaris
/perl
/presentations
/programming
/python
/ruby
/security
/security/apache
/security/tools
/serversmells
/services
/services/dns
/sites
/specifications
/sysadmin
/testing
/tools
/tools/commandline
/tools/firefox
/tools/gui
/tools/network
/tools/online
/tools/online/greasemonkey
/tools/puppet
/unixdaemon

Archives:

July 20111
June 20112
May 20113
April 20112
March 20117
January 20111
December 20103
November 20103
August 20101
July 20101
June 20104
May 20102
April 20101
March 20108
February 20101
January 20102
Full Archives

Wed, 12 Oct 2005

Where (In the UK) is That Number?
After a pretty much technology free day at work I wanted to actually do something hands on before the day was over. After a flurry of reading and deleting of of blog posts it looked like the buzz word of the day was (still) Google Maps. So off I went.

With the aid of the excellent Number::Phone and the not too bad Geo::Google, which can't seem to handle Scottish towns, I put together a small script which displays the town a phone number is from using Google Maps. To try it out enter a phone number in the field below. You can skip the leading +, and/or the country code (44). It's also mostly OK with hyphens, spaces and other bits of cruft.

Disclaimer: I'm not logging the numbers entered anywhere.

Now for some caveats. It only works for Britain and Wales. Geo::Google doesn't do Scotland. It doesn't have support for the US yet. It only shows things on a town level. It has ugly error messages. But it does mostly work if none of those restrictions apply :)

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2005/10/12 23:23 | /unixdaemon | Permanent link to this entry | This entry and same date


books career codinghorrors events geekstuff justdont magazines meta misctech movies nottech operatingsystems/linux operatingsystems/linux/debian operatingsystems/solaris perl programming python ruby security security/apache security/tools serversmells services/dns sites sysadmin testing tools tools/commandline tools/firefox tools/gui tools/network tools/online tools/online/greasemonkey tools/puppet unixdaemon

Copyright © 2000-2010 Dean Wilson XML feed logo