The website for the postcode module points to this site for getting the data
http://jibble.org/ukpostcodes/
It seems to have been put together by three guys - though it isn't
clear how they did it.
It only covers the major part of the postcode - eg the "E11" of "E11
1LT" so it isn't going to be terribly useful - but better than
nothing. (This seems to contradict the original poster so maybe I am
wrong).
From the website:
" Thanks to William Platts
for the OS grid reference data, Jonathan
Stott for the latitudes and longitudes, and Jon Godwin for detecting
and correcting some locations."
One also has to wonder how they got the list of postcodes in the first
place because the Royal Mail might try claiming that it was part of
their copyrighted database... I wouldn't put it past them.
Alex
On Tue, 31 Aug 2004 20:27:28 +0100, Kake L Pugh <kake(a)earth.li> wrote:
Haven't looked at the module yet, don't know
where he's getting the
data from.
Kake
----- Forwarded message from william ross <will(a)spanner.org> -----
From: william ross <will(a)spanner.org>
Date: Tue, 31 Aug 2004 19:39:06 +0100
To: CDBI <cdbi-talk(a)groups.kasei.com>
Subject: Geo::Postcode
Hello,
I've just finished (for now) and uploaded the module that I use to work
with UK postcodes. It handles validation, parsing, location and the
common distance-to-here calculation in a fairly economical way, and it
can deal transparently with postcodes at different resolutions (ie it
will tell you how far it is from 'SW1' to 'EC1Y 8PQ'), to allow for the
various data sets that are available.
At the moment it's up as Geo::Postcode, but that may well change in
order to sit nicely next to similar modules from other countries.