Alternatively, you can get it free and legally (although subject to some terms and conditions) from the Ordnance Survey OpenData initiative. See Code Point Open on this page: https://www.ordnancesurvey.co.uk/opendatadownload/products.html
Robin On 9 Jan 2011, at 10:37, Benjie Gillam wrote: > The UK post code database is out there on the net, you just have to look :) > I'd guess a name for the 2009 post code database might be along the lines of > uk-post-code-2009? And perhaps, due to size, it might be bz2 compressed...? > > Benjie. > > On 9 January 2011 00:36, Vic <[email protected]> wrote: > > > I think the problem you will have will be associating geographical > > locations with post codes. The post office charges a nice fee for this > > information, and therefore it is not readily available. > > > The Post Office are not the only people to have that database. > > I've found querying Google to be very successful in the past. It doesn't > cost anything, and seems to be very accurate. You can get lat/long for any > given postcode, and I've done it from both perl and PHP. It does require a > sign-up, which is tied to a particular domain. > > Vic. > > > -- > Please post to: [email protected] > Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire > LUG URL: http://www.hantslug.org.uk > -------------------------------------------------------------- > > -- > Please post to: [email protected] > Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire > LUG URL: http://www.hantslug.org.uk > -------------------------------------------------------------- -- Please post to: [email protected] Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk --------------------------------------------------------------
