Nick,
We do proximity searches in our application.
We bought a zip code database for $5 from teamredline.com
and I blogged about the transact-SQL code that we use here:
http://www.opensourcecf.com/1/2007/02/Determining-Zip-Code-Proximity.cfm
Rick
~
> We need to create a search feature that includes a
> zip code locator such that the searcher can enter
> their zip code and then get search results
> within a certain radius (e.g. within 20 miles, etc.).
There are several ways to do this. We generally purchase a database with
al
Hi folks,
We need to create a search feature that includes a zip code locator such
that the searcher can enter their zip code and then get search results
within a certain radius (e.g. within 20 miles, etc.).
This has no doubt been done many times. Is there a best practice for doing
this
Folks,
Thanks a million for the posts!
-Jim
~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP
Archive:
http://www.houseoffu
Graham,
Do you have code you can send me?
What does it mean to get approved for USPS?
Thanks,
-Jim
~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.c
h lat/long data and you can do you distance searches that way. Won't be
very accurate, but might be good enough for some applications.
Russ
> -Original Message-
> From: Graham Pearson [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 04, 2007 11:24 AM
> To: CF-T
my old version of that code used a zip code db but there is no reason to
anymore.
But if you need to this is the zipcode db i purchased and its only $5 and it
was last updated this month.
http://www.teamredline.com/zc/
~|
Get
ZipCodes aren't geographic areas, they are postal service delivery routes. Some
of them have really wacky layouts and boundaries. In some places, a building
has it's own zipcode. I also recommend you geocode each address, then do the
distance math between lat-lons. Google it and you'll find seve
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
And for those that do not have a budget you can do the same thing in a
2 step process. For United States Addresses you take the user supplied
address and pass it to the United States Postal Service to read the
returned address then you take the result
If i remember correctly "yes" you can
>Hi Dave,
>
>Thanks for the reply! Can you pass Ray's CFC a full U.S. address?
>
>-Jim
~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www
Hi Dave,
Thanks for the reply! Can you pass Ray's CFC a full U.S. address?
-Jim
~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/
sorry, just noticed this
if searching by zipcode take a form result(zipcode) and run rays yahoo geocode
cfc
//get geocoding from yahoo
getlocation =
createObject("component","cfc.yahoo.geocoding").geoSearch(location="#zipcode#");
//set l
Hi Dave,
Could you please share your Address to lat long code with me? [EMAIL PROTECTED]
I've been doing GeoCoding based off zipcodes using a Yahoo web service but your
method sounds dead on. I set a validition table thats indexed where if I dont
find a zipcode in my vlaidation table I use the
-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 cre
sure :)
it's funny though most sites do it the other way.
For example use the Subway sandwich site, I live in area code 80528 which is a
fort collins area code but I actually live in Windsor which is a different
city, so when I search for a local store the closest one really is like 14
miles aw
have.
Thanks,
Bruce
-Original Message-
From: Dave l [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 21, 2007 7:11 PM
To: CF-Talk
Subject: Re: Zip Code Locator
you don't need that and its not accurate, just do a geocode on address and
then the formula.
The reason why us
you don't need that and its not accurate, just do a geocode on address and then
the formula.
The reason why using a zipcodes lat and lon don't work is because lets say
person a is in zipcode 1 and zipcode 1 is 40 square miles and they live on the
outer western edge and person 2 is in zipcode 2
7 7:33 PM
> To: CF-Talk
> Subject: Zip Code Locator
>
> 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 a
funny.. girls call me me "dr", i even was gunna buy www.drdave.com but it was
taken.. dammit.
first thing to decide is how accurate you want it. If you just go by zipcode
you could be 2 - 200 miles off the actual distance. If you want it accurate you
need to use actual addresses.
there are eas
>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 s
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
gt;
To: "CF-Talk"
Sent: Wednesday, November 22, 2006 4:42 AM
Subject: Re: Zip code locator
> > I am needing to implement a search within "X" miles of zipcode feature
> > on my websire, and was wondering if someone knows of an open source
> > solution.
>
Also take a look at:
http://www.webmonkey.com/webmonkey/05/32/index4a.html?tw=programming
I based my zip code search right out of this article.
On 11/22/06 8:19 AM, "Charles Sheehan-MIles" <[EMAIL PROTECTED]> wrote:
> Hi Doug,
>
> I have a zip code locator built in
Hi Doug,
I have a zip code locator built into the CMS I'm working on. Feel free to
grab the code: http://activecharity.riaforge.org -- unzip the file and find
the file /members/profilesearch.cfm.
A more or less working version of it is here:
http://www.veteransforamerica.org/index.cfm
> I am needing to implement a search within "X" miles of zipcode feature
> on my websire, and was wondering if someone knows of an open source
> solution.
Talk to dave the disruptor. He knows zip code locators inside and out!
Will
~~~
I am needing to implement a search within "X" miles of zipcode feature on my
websire, and was wondering if someone knows of an open source solution.
Thanks in advance
Doug B.
~|
Introducing the Fusion Authority Quarterly Upd
26 matches
Mail list logo