I've added another entry with a function for that distance calculation
too.

http://www.fergusonhouse.com/blog/index.cfm/2006/7/27/coldfusion-geocode
-distance-calc

http://tinyurl.com/kjlb6

**************
Ken Ferguson
214.636.6126
www.fergusonhouse.com


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

That's a good point though. It's just scratch code that hasn't been
cleaned up. I'll need to make sure the information is urlEncoded in the
end. Anyway, I hope it'll be useful for you.

Thanks,

**************
Ken Ferguson
214.636.6126
www.fergusonhouse.com


-----Original Message-----
From: Turetsky, Seth [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 27, 2006 12:14 PM
To: CF-Talk
Subject: RE: postal code webservice

Thanks, I had to urlencode the address though.  Note: I'm running on BD

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


By the way, if you'd like to nab my code for calling the geocoder
service in CF, I've blogged it.

www.fergusonhouse.com

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


-----Original Message-----
From: Ken Ferguson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 27, 2006 10: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
**************


-----Original Message-----
From: Turetsky, Seth [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 27, 2006 10:24 AM
To: CF-Talk
Subject: postal code webservice

Does anyone know a reliable site to lookup zip codes, more specifically
I want to look up the difference between two?
I googled and saw some, but didn't know how reliable they were.

Thanks,
Seth

========================================================================
======
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:247910
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to