Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

SimpleGeocode
Project Home Known Issues External Project Link Contact Project

Author: Sigma Projects (All RIAForge projects by this author)
Last Updated: April 25, 2011 8:27 AM
Views: 20,876
Downloads: 1,148
Demo URL: http://simplegeocode.sigmaprojects.org/index.cfm
License: Apache License, Version 2

Description:

This is based off of John Blayter's geo.cfc and Ray Camden's google geocode component.

I combined the two and stripped/added certain things.
the main function accepts either a Full Address or address parts (city, state, country, zip, etc) and returns the following:
If the address was geocoded. (boolean)
Status String. (string)
Latitude (float)
Longitude (float)
Accuracy (numeric)
Returned Address [address string returned from google] (string)


Mainly made to work with CF8 and its CFAJAXPROXY tag but can be applied to other ajax frameworks. Also has built-in geocode caching.

Last Update:

Fixed issue "URL-Encode the google request" pointed out by Dave Anderson http://simplegeocode.riaforge.org/index.cfm?event=page.issue&issueid=EE43D173-0D18-27A9-3DBA2931E00AD52E
Thanks Dave!

Requirements:

A database table with the following:

ID (AUTO INCR INTEGER)
FULLADDRESS (VARCHAR)
ACCURACY (INTEGER)
LATITUDE (FLOAT 10,6)
LONGITUDE (FLOAT 10,6)

Includes a MySQL table dump.

Issue Tracker:

ID ISSUE STATUS UPDATED
1 URL-Encode the google request Fixed 04/13/11 3:41 AM

View All Issues

To enter issues for this (or any other) project, you must be logged in.