Domain Manage

Postcode systems

Discussion in 'Website Design' started by ratboy, Oct 17, 2009.

Thread Status:
Not open for further replies.
  1. ratboy United Kingdom

    ratboy Well-Known Member

    Joined:
    Sep 2005
    Posts:
    2,399
    Likes Received:
    43
    Does anyone have experience with using the postcode systems in sites i.e. autotrader where it recognises your postcode and then knows the relationships better them, i.e. neighbouring postcodes and distances.

    How do you get this info? Does it have a name?

    Thanks.
     
  2. Domain Forum

    Acorn Domains Elite Member

    Joined:
    1999
    Messages:
    Many
    Likes Received:
    Lots
     
  3. Tricky1 United Kingdom

    Tricky1 Active Member

    Joined:
    Nov 2008
    Posts:
    373
    Likes Received:
    19
  4. rottensoundz United Kingdom

    rottensoundz Active Member Exclusive Member

    Joined:
    Feb 2008
    Posts:
    249
    Likes Received:
    7
  5. Tricky1 United Kingdom

    Tricky1 Active Member

    Joined:
    Nov 2008
    Posts:
    373
    Likes Received:
    19
    Postcodeanywhere goes in the checkout, you type in your postcode and it brings up all house numbers and street names in that postcode, the customer clicks on their address and it fills in the remaining boxes.

    From how I read it, Ratboy wants a script that will tell you the distance from your postcode to another, like Autotrader as an example, you search for a car and it tells you the distance to it.
     
  6. ratboy United Kingdom

    ratboy Well-Known Member

    Joined:
    Sep 2005
    Posts:
    2,399
    Likes Received:
    43
    Cheers guys, that has helped, sometime finding stuff without the right terminology is a pain.

    Found this:
    PHP postcode distance calculation script

    It is to go on a used-cars site to allow searching within distances. Think this will do the trick.

    Thanks for the help! :p
     
  7. Skinner

    Skinner Well-Known Member

    Joined:
    Jul 2008
    Posts:
    4,325
    Likes Received:
    81
    Your looking for Pythagorus, you convert the postcode to Long/Lat Co-Ords then apply pythagorus theorum to get the distance.

    It makes my head hurt even thinking about it :p
     
  8. liam United States

    liam Active Member

    Joined:
    Feb 2009
    Posts:
    355
    Likes Received:
    6
    If any one wants full uk postcode database if you want with lat/long codes

    "UK database of all 1,841,177 UK postcodes together with latitude and longitude, grid references, county, district, ward, NHS codes and regions, Ordnance Survey reference, and date of introduction. The database was last updated on July 8, 2009 and is over 100,000 pages in size."

    u can download here:
    text_download_from_uploader
     
  9. devolution

    devolution Active Member

    Joined:
    Feb 2005
    Posts:
    753
    Likes Received:
    14
Thread Status:
Not open for further replies.

Share This Page