From: Reid Thompson Date: 2005-11-23T11:54:32+09:00 Subject: Re: postal code/zip code distance Michael Campbell wrote: >Nicholas Van Weerdenburg writes: > > > >>I need to do a store/restaurant locator search from a persons postal code >> >> > >My company did something like this, but in Java. In essense, we >bought a zipcode => lat/long map data set (~ $35 USD, IIRC), and then >the developer that did this dug up from google an algorithm to >calculate distances between two lat/long points. > >Pretty simple, near as I can recall. > > > load the data in postgresql and use it to calculate the distances