Postcode Widget – Part 1


July 31, 2008

Background

After playing around with Google maps for a few days it became apparent that having a list of UK postcodes plus the corresponding latitude and longitude to each would come in very handy for a lot of people. If you had such a thing you could build loads of exciting applications, from route planning to food mile calculators.

The problem is that here in the UK the list doesn’t exist in the public domain. It’s available from the Post Office, but it’ll cost you, making it effectively useless for most small groups and enterprises.

What’s currently available from Easypeasy is the first half of the code. With this you can break the UK into about 3,000 separate parts, narrowing a location to within a few kilometres.

Project Brief

There appear to be two groups pushing the Postcode into the public domain, Free the Postcode and New Popular Edition Maps.

What I’d like to do is build a widget that people can put on their website that makes it easy for the general public to enter their Postcode, and help build the free database. Currently you are required to specifically visit either of the two website and with Free the Postcode know by heart your latitude and longitude.

Using the Google Map API combined with the first half of the postcode the widget would pull up a map of your local area, from here it’s easy to stick a pin where you live or work, and then after (an email?) authentication your postcode is added to the database.

References

Free the Postcode: www.freethepostcode.org

New Popular Edition Maps: www.npemap.org.uk

Postcode Schema: www.govtalk.gov.uk/gdsc/html/frames/PostCode.htm

Easypeasy: www.easypeasy.com/guides/article.php?article=64

4 Comments »

  1. [...] Postcode widget – Part II August 16, 2008 [...]

    Pingback by Matthew Byrne: the blog » Postcode widget - Part II — August 16, 2008 @ 9:28 am

  2. Your blog is interesting!

    Keep up the good work!

    Comment by AlexM — August 17, 2008 @ 7:20 pm

  3. Hello

    As a fresh http://www.matthewbyrne.co.uk user i only wanted to say hello to everyone else who uses this bbs :D

    Comment by DurblultyPery — December 19, 2008 @ 5:48 pm

  4. i need a widget where customers can type in their post code and it will tell them if we deliver in their area, do you know of anything like this?
    cheers

    Comment by peter — June 20, 2010 @ 4:35 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment