+ Reply to Thread
Results 1 to 4 of 4

How do I calculate the distance between 2 postcodes?

  1. #1
    Rhys
    Guest

    How do I calculate the distance between 2 postcodes?

    Can anyone help with this?

  2. #2
    Charlie
    Guest

    RE: How do I calculate the distance between 2 postcodes?

    Well, the formula is

    Dist = Sqr((x2 - x1) ^ 2 + (y2 - y1) ^ 2)

    for points (x1, y1) to (x2, y2)


    "Rhys" wrote:

    > Can anyone help with this?


  3. #3
    NickHK
    Guest

    Re: How do I calculate the distance between 2 postcodes?

    Rhys,
    So you need the latitude/longitude of your post codes to apply Charlie's
    formula.
    About 1/2 way down this page
    http://att.macrumors.com/attachment....6&d=1082113719
    there's a list of about 2800 postcodes.

    NickHK

    "Rhys" <[email protected]> wrote in message
    news:[email protected]...
    > Can anyone help with this?




  4. #4
    Greg
    Guest

    Re: How do I calculate the distance between 2 postcodes?

    On Wed, 5 Jul 2006 07:24:02 -0700, Rhys
    <[email protected]> wrote:

    >Can anyone help with this?


    Google is your friend.

    I googled distance between zip codes and got a bunch of links.

    Since you used the term "post codes", I think you might be outside the
    U.S., so just substitute post for zip and have at it.

    Good luck.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1