Re: US ZIP CODE
| From: | Ben Weinberger | Date: | Sat, 09 Sep 2000 07:47:42 +0000 |
| Subject: | Re: US ZIP CODE | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-15980@lists.php.net to get a copy of this message | ||
Hi~
Does anyone know how to use this zip code data to determine the closest vendors to your location? I.E... if someone typed in their zip, it would query their lat/long and tell them the closest locations of a particular store to where they are located.
Thanks,
-Ben
At 10:56 AM 9/7/2000 -0400, Thomas Deliduka wrote:
Free one: US Census Bureau. http://www.census.gov/ftp/pub/tiger/tms/gazetteer/ This is, however, 1990 Survey information. They say 2000 survey information should be coming out fairly soon. This includes Lat and Long information and population at the time. Here's the download file: ftp://ftp.census.gov/pub/tiger/tms/gazetteer/zips.zip The lat/long values are in degrees and must be converted to radians before calculations can be made.