Thanks all, I will go this route as well.
I've done something similiar with google maps, click one point and then another 
and it would do this math to calculate the difference.  I think I used a 
different equation though and there was a pretty big margin of error.

-seth

-----Original Message-----
From: Ken Ferguson [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 27, 2006 11:59 AM
To: CF-Talk
Subject: RE: postal code webservice


What do you mean, "the difference between the two?" Do you mean you'd
like to find the distance between the two zip codes? If so, I'd
recommend you check out geocoder.

http://geocoder.us/help/city_state_zip.shtml 

you can get the lat/lon for a zip, like this:
http://geocoder.us/service/csv/geocode?zip=75034

so if you get it for both zips and then calculate it with the great
circle equation, Robert's your father's brother.

http://geocoder.us/blog/2006/04/21/calculating-distances/

**************
Ken Ferguson
214.636.6126
**************

==============================================================================
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247890
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to