[Chameleon] Re: Geocoding, and rectangle query

Jennifer Strahan jennifer at greeninfo.org
Thu Sep 28 12:42:09 EDT 2006


Hello Peter,

I recently added an address search feature to my Chameleon site using 
the Yahoo Geocoding API.  I added the functionality to a custom SQL 
query widget that Bill Bronsema at DM solutions created for 
us.  Basically, I get the user's address and selected search radius, 
go out to yahoo and get the lat/lon, then run a query against a 
PostGIS database to find all parks within the selected distance of 
the address.  To see it in action, visit www.parkinfo.org.  If you're 
interested, I could share the code that I used to accomplish this and 
I'm sure you could integrate it with the Locate widget.

Regards,
Jennifer


At 09:00 AM 9/28/2006, you wrote:
> > Hello,
> >
> > I'm new to Chameleon, and I am evaluating it for possible use in a
> > particular project for emergency planners.
> > I have two questions on widget capability:
> >
> > 1.  Has anyone adapted the "Locate" widget to use a U.S.-based
>geocoder,
> > like the new Yahoo Geocoding API, or geocoder.us?
> >
> > 2.  Will the query widget be enhanced to find objects in a rectangle (or
> > other shape?)   I noticed in the archives some discussion about this
> > some months ago.
> >
> > Thanks!
> >
> > Peter Gattuso
> > Office of Emergency Management (5104A)
> > U.S. Environmental Protection Agency
> > 1200 Pennsylvania Ave. NW
> > Washington, DC  20460
> >
> > _______________________________________________
> > Chameleon mailing list
> > Chameleon at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/chameleon
> >
> >

Jennifer Strahan (Shanks)
GreenInfo Network - 1996-2006: A Decade of Mapping the Public Interest
116 New Montgomery  Street   Suite 738  San Francisco CA  94105
PH: (415)979-0343 x306    Fax:  415-979-0371     Web:  www.greeninfo.org





More information about the Chameleon mailing list