Re: Re: Google Maps Distance Between UK Postcodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sep 11, 2008, at 11:19 AM, tedd wrote:

At 5:37 PM +0100 9/1/08, Colin Guthrie wrote:
Tom Chubb wrote:
That's all way above my head, but I think I'll be able to understand it
after a strong coffee!

I should point out that this is really just trig and is only an approximate distance as the crow flies. Not even sure if it takes the curvature of the earth into consideration, but it's probably "good enough" for most things.

Oh, I forgot to add -- I use it for this:

http://php1.net/b/zipcode/

This plugs into a zip code dB that has the center of the zip code in lats and longs.

Cheers,

tedd


In regards to your php1.net/b/zipcode/ ... I think I may have found a bug :) zipcode 49422 does not show up as being within 10 miles of 49424 even though 49423 does. FYI, 49422 is the zipcode for holland, mi PO BOXES so I'm not sure if your database has that included or not... Or where they would even register the lat/lon... I would assume at the holland post office.. but I could be wrong.


--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
11287 James St
Holland, MI 49424
www.raoset.com
japruim@xxxxxxxxxx





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux