-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Here is how I handle this for my applications that I need to get a
radius distance. After I ask the user for their address information or
the address information for a Business I verify that information via
the United States Postal Service. I then create a new Array with the
returned information while also grabbing the Carrier Route, Country,
Delivery Point Code, Check Digit, LAC, eLOT, and the Record Type Code.
This will also tell me if the address is a mail serviceable address,
non-Deliverable address or an address that is not existent. This Array
will then pass through the GeoCoder to Grab the Latitude and Longitude
on the verified address which is then stored in this array. The array
is then passed back to the user and stored with their database account
record.

With all of this information, then you can perform a radius distance
calculation on the Lat/Long and show all Members within the X Mile
Distance.


Bruce Sorge wrote:
> Hello all and Happy Holidays!
>
> One of my customers wants me to create a dating site for him. I know that
> one of the features that he will want is to locate people within X miles of
> their zip code. Does anyone know of any code that you have used or
recommend
> for this that I can plug into the site to accomplish this? API's or
whatever
> is fine.
>
> 
>
> Thanks,
>
> 
>
> Bruce
>
> 
>
> 
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293685
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to