Re: Re: Google Maps Distance Between UK Postcodes
| From: | Jason Pruim | Date: | Thu, 11 Sep 2008 15:28:47 +0000 |
| Subject: | Re: Re: Google Maps Distance Between UK Postcodes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279898@lists.php.net to get a copy of this message | ||
On Sep 11, 2008, at 11:19 AM, tedd wrote:
At 5:37 PM +0100 9/1/08, Colin Guthrie wrote: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@raoset.comTom Chubb wrote: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, teddThat'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.