I am wondering if there is a plugin or a way to search by location and distance from entries in EE.
There will be address fields when creating entries, so it could query against it.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
January 28, 2012 7:07pm
Subscribe [5]#1 / Jan 28, 2012 7:07pm
I am wondering if there is a plugin or a way to search by location and distance from entries in EE.
There will be address fields when creating entries, so it could query against it.
#2 / Jan 29, 2012 8:59am
I have had excellent experiences with Natural Logic’s Geofinder: http://natural-logic.com/software/geofinder
We are using it on Director-ee: http://director-ee.com/location
Just a note, you will have to have a Latitude/Longitude for each entry. This can be done quite easily (for new entries) with Natural Logic’s Geotagger: http://natural-logic.com/software/geotagger/
Geotagger can provide a graphical interface both in the front or back end, or even work as some hidden javascript on your stand alone entry forms. On Director-ee, we use this when people fill out their profile, and on occasion the admins do a search for profiles with a blank lat/long value, and fill those in manually (it doesn’t happen often).
#3 / Jan 29, 2012 6:05pm
Hi zizther,
Did Ryan’s suggestions do the trick for you?
To keep the discussion going, I’m going to move this into Community Help. If you ever need technical assistance with ExpressionEngine, just ping us in a new thread.
Cheers!
#4 / Jan 29, 2012 6:28pm
Hi Ryan,
Thanks for the relpy. Those add-ons look good. Do you find they work well, giving accurate results, etc?
Thanks Dan, I think Ryan’s suggestions are good!
#5 / Jan 29, 2012 7:45pm
Yes, I can vouch for them. I’ve used them on a couple of sites and have had a good experience each time.
#6 / Feb 01, 2012 5:21pm
Thanks, I’ll be needing this functionality soon on my current project. 😊
#7 / Feb 01, 2012 5:24pm
Another add-on that provides geolocation is GoogleMaps for ExpressionEngine from ObjectiveHTML. It also taps right into the Google API for its searches, so it works well and the support is great.
#8 / Apr 11, 2012 8:26pm
I have a question regarding this - is there a way to use either of these add-ons (or some other add-on) to build a search form that searches by location AND filters results by custom field?
I am working on a member directory of music teachers (using Zoo Visitor, so these work as standard channel entries) and I am currently using the GoogleMaps for EE add-on, which seems to work great if ONLY searching by location or category (I’m not using categories in this example).
In addition to searching within a radius of a given zip code, I also need the user to be able to filter results by “Instruments Taught,” “Styles Taught,” and/or “Ages Taught” (all are currently P&T Checklist fieldtypes). I can’t seem to figure out how to marry these two types of searches so any suggestions are much appreciated!
Thanks for any help anyone might offer!
-m