Re: how to setup "closest location near you"

by "Darrell King" <darrell(at)webctr.com>

 Date:  Thu, 4 Sep 2003 09:38:05 -0400
 To:  <hwg-techniques(at)mail.hwg.org>,
"Doris Kyburz" <doris(at)kyburz.net>
 References: 
  todo: View Thread, Original
You can determine the longitude and latitude of a given zip code by using
one of the many pre-populated databases that can be found online using a
search in any major search engine.

Once you have the latitude and longitude of both points, you can use the
Greater Circle Formula to calculate the distance between the two points.

Here's an online example:

http://www.wcrl.ars.usda.gov/cec/java/lat-long.htm

D

----- Original Message -----
From: "Doris Kyburz" <doris(at)kyburz.net>


Dear all,

I was asked to update a site for a hair salon chain and in the
process of discussing on how to make the "our locations" page better
my client got the idea add the feature "closest location near you"
which would use a postal zip code.

Has anybody done something like that? What is involved? Open source cgi?

The chain only covers Connecticut and Massachusetts.

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.