I'm using the free version, and I'm geocoding on input - so I'm only ever
working with one address at a time. If it returns multiple addresses, I then
ask the user for clarification. It seems to be working reasonably well,
though it's not in production yet.
Here's the webservice call version that Paul Hastings sent me off-list. It
also works.
<cfscript>
geocoder=createObject("webservice","
http://geocoder.us/dist/eg/clients/GeoCoder.wsdl");
geocodeResults=geocoder.geocode_address("721 River St,Peckville, PA 18452");
</cfscript>
<!--- hints at other goodies --->
<cfdump var="#geocodeResults#">
<cfoutput>
<cfloop index="i" from="1" to="#arrayLen(geocodeResults)#">
latitude: #geocodeResults[i].getLat()#, longitude:
#geocodeResults[i].get_Long()# <br>
</cfloop>
</cfoutput>
On 3/13/06, Ken Ferguson <[EMAIL PROTECTED]> wrote:
>
> Deanna, I saw this post that you've got the csv version working. Have
> you tried it with anything more than about 5 queries in a loop? If so,
> did it work for you? Are you using the free version or the commercial?
>
> Thanks,
> Ferg
>
> Deanna Schneider wrote:
> > Is anyone using a free geocoding service with CF? I've been playing with
> the
> > www.geocoder.us stuff - and while I can get the csv version to work,
> I've
> > yet to be able to get the soap versions to work. Anyone else had more
> luck
> > than me? Or, should I just stick with the csv version and do some text
> > parsing? I want to use it with the google maps api to do a little
> mapping
> > project.
> >
> > Thanks in advance.
> >
> >
> >
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235274
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54