Results 1 to 7 of 7

Thread: Postal Code to Address

  1. #1

    Thread Starter
    Frenzied Member wpearsall's Avatar
    Join Date
    Feb 2002
    Location
    England / UK
    Posts
    1,065

    Postal Code to Address

    OK... HOPEFULLY this is an easy one?

    the club i work in has finnaly decided to take up the chance for a computerised membership system...

    i've got it all working, all except for a few extra things, you know... those finishing touches...

    anyway, gaffer said about how when you phone up like BT or that they say "Post code" "house number" "Ahhh, so that 123 Street Road, Oldbury?" etc
    is is possible to get a list of post codes with the addresses [street, post town] etc?

    any code been done?

    being a small club post codes within about 20 miles should do it.. but thats still a hell of a lot of post codes to go searching for, since my dad lives two streets away and his last three are 7EN where as mine are 6DZ - meh,,, ideas?

    I would say B61 - B70 would do, but then we got dudley just a mile up the road, and we got members from DY1, DY2 and DY5 so :S lol... any help?

    cheers
    Wayne

  2. #2
    Hyperactive Member
    Join Date
    Oct 2006
    Location
    USA
    Posts
    476

    Re: Postal Code to Address

    Quote Originally Posted by wpearsall
    OK... HOPEFULLY this is an easy one?

    the club i work in has finnaly decided to take up the chance for a computerised membership system...

    i've got it all working, all except for a few extra things, you know... those finishing touches...

    anyway, gaffer said about how when you phone up like BT or that they say "Post code" "house number" "Ahhh, so that 123 Street Road, Oldbury?" etc
    is is possible to get a list of post codes with the addresses [street, post town] etc?

    any code been done?

    being a small club post codes within about 20 miles should do it.. but thats still a hell of a lot of post codes to go searching for, since my dad lives two streets away and his last three are 7EN where as mine are 6DZ - meh,,, ideas?

    I would say B61 - B70 would do, but then we got dudley just a mile up the road, and we got members from DY1, DY2 and DY5 so :S lol... any help?

    cheers
    A company I used to work for used the Royal Mail's PAF subscription and it costs £150 for a single-user license; if I recall correctly for them it cost several hundred pounds a year for the file, updates, etc.

    http://www.royalmail.com/portal/rm/j...5&catId=400084

    There are probably other dbs online but I couldn't vouch for their authenticity.

  3. #3
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Re: Postal Code to Address

    I know AusPost (in OZ ) gives a free list of all postcodes and towns within Australia. I used the info in one of my first apps.

    Like disruptivehair said, there are probable lists available (free) you just need to search.

  4. #4
    PowerPoster
    Join Date
    May 2006
    Location
    Location, location!
    Posts
    2,673

    Re: Postal Code to Address

    I'm looking around for the same thing and there's very little that you can do as there's nothing online except for the PAF system...however, on an amateur level, you could search google for the postcode and look at any addresses that come up...or there are other programs out there that will "clean up" addresses based on the postcode.

    I would assume that the postcode system is copyrighted to the royal mail, so if you use it you're breaking the law if you're not paying them for the privledge :-)

    One suggestion for you is to have a postcode database that builds as you go...when you get new members you ask for their postcode and if it's not in the database you ask for the rest of the details...it's only a small club, as you say...no point paying royal mail so much :-)

    I am able to get a list of postcodes if you want to manually look them up to add to your database...just the postcode, no names...give me a set of areas (the first set of digits) and I'll sort it out
    Well, everyone else has been doing it :-)
    Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
    Expect more to come in future
    If I have helped you, RATE ME! :-)

    I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!

    And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.

  5. #5

    Thread Starter
    Frenzied Member wpearsall's Avatar
    Join Date
    Feb 2002
    Location
    England / UK
    Posts
    1,065

    Re: Postal Code to Address

    i did actually think that the address could be done like you said... BUT: as u said about copy right...

    is that true? [anyone know?] theres has got to be some reason companies pay 200 quid for a db, it caw JUST be ease? can it? mind, thinkin of bt, the amount of time it saves to take just the post code instead of the whole address...

    but i guess the other thing is build it up... they cant stop you doin that? can they? :S

    i mean, fetch the post code from another table if it exists, if not then "do you wish to update address into postcode database... easy enough... i'll have to sort out a list of post codes... but definate ones so far are: (B62, 63, 64, 65, 68, 69) DY2, DY5, DY6

    cheers.
    Wayne

  6. #6
    PowerPoster
    Join Date
    May 2006
    Location
    Location, location!
    Posts
    2,673

    Re: Postal Code to Address

    If you were to collate a list of addresses based on postcodes for personal use, you're building it *from* private data and there's no copyright issues (the address is "owned" by your customers and they give you permission to use it as you wish in your database as long as it's not personally identifiable to them...many companies do it :-)) but if you were to collate it from elsewhere Royal Mail might throw a hissy fit...esp. if you were taking away a sale of their PAF service :-)

    And it's not just ease of use...for instance, a postcode is only 6-7 bytes (plus 1-3 for the house number) while a full address could be anything between 20 and 50 bytes...all you would need to store is the postcode if you have a database of full addresses to convert it back when required, and you save a hell of a load of space...plus there's sites out there that can convert a postcode to lat/long co-ordinates to pinpoint where exactly a place is or distances between places (I found one recently that was free and gave exact details, and streetmap also give long/lat for postcodes)

    Plus there's also the "oooooh" factor from them taking your postcode and knowing your address, but that's hardly new any more :-P

    I think that the main reason here with the d/b sold by Royal Mail is the fact that the space saved by storage is so great if you have many instances of address data, plus possibly the fact that all you need to confirm a full address is a correct postcode (if you're a company dealing with addresses from people as long as you can read their postcode on their form you can work out what the actual address is...that's why postcode is in capitals and has its own box on forms :-))

    Edit: Also, here's the list of postcodes...this isn't specifically the ones you want, this is ALL OF THEM :-)

    http://geopostcode.com/ov2/list.zip

    I've also sent this to you directly so that you get it
    Last edited by smUX; Oct 27th, 2006 at 10:25 AM.
    Well, everyone else has been doing it :-)
    Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
    Expect more to come in future
    If I have helped you, RATE ME! :-)

    I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!

    And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.

  7. #7

    Thread Starter
    Frenzied Member wpearsall's Avatar
    Join Date
    Feb 2002
    Location
    England / UK
    Posts
    1,065

    Re: Postal Code to Address

    cheers mate well i guess i'll add it to the db then ta
    Wayne

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width