Re: Zip code
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Zip code

From: Al Dykes <adykes@panix.com>
Date: Fri Jul 29 2005 - 05:11:41 CEST

In article <11ei85f8c660b49@corp.supernews.com>,
Gordon Burditt <gordonb.haqjl@burditt.org> wrote:
>>I have a database of zipcodes with latitude and longitude. I also have the
>>method of calculating the distance between two zipcodes. What I want to
>>know is if there is an efficient algorithm for obtaining the zip codes
>>within a specified distance of the first zipcode without having to retrieve
>>and calculate for every record in the database.
>
>It depends on what you are doing, and how accurate you need to be.
>Is that distance supposed to be DRIVING distance or distance as
>the missile flies?
>
>Precomputing some of this can be used to advantage.
>

have you looked at a zip code map for Manhattan?

-- 
a d y k e s @ p a n i x . c o m 
Don't blame me. I voted for Gore.
Received on Mon Oct 17 21:22:21 2005