Re: Re: Looking for good ZIP Code / Latitude / Longitude

From: Date: Wed, 30 Oct 2002 23:33:39 +0000
Subject: Re: Re: Looking for good ZIP Code / Latitude / Longitude
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-122146@lists.php.net to get a copy of this message
Hello, On 10/30/2002 07:11 PM, Michael Zornek wrote:
I've written a nice php/mysql site that let's you search for hospitals and community colleges by zip code. The search is built upon some math that figures out distances by a zip's lat and lon cords. My problem is that my current ZIP table (bout 42,000 rows) seems to be flawed. There are a ton of zip codes round california that have all the same lat and lons. There are other dups as well. So I'm looking for some new data. Does anyone know a good source for this type of info?
This class may be used to figure the coordinates of a location given the IP address of a computer (the user computer): http://www.phpclasses.org/netgeoclass
I can't really use that class. I'm looking for a table of zip codes, with relating lat and lon cords. I already wrote the calculation code. That PHP class is reliant on a web service which I'm not interested in.
Maybe this other class is more like what you want. http://ww.phpclasses.org/phpziplocator -- Regards, Manuel Lemos

« previous php.general (#122146) next »