I''ve created a plugin that will help you implement radius-based location searches from a zip code or city/state. This plugin is based on work I did for WalkingBoss (http://walkingboss.org). This plugin includes everything you need to get started, including free zip code data (about 45,000 zips and city/states), and a fully functional ZipCodeSearchExampleController with a view. Here are the quick installation instructions: > ruby script/plugin install svn://rubyforge.org/var/svn/zipcodesearch/trunk > ruby script/generate zip_code_search ZipCode > rake migrate # This will take a long time! > ruby script/server Then visit: http://localhost:3000/zip_code_search_example/index to see the example controller in action. See http://zipcodesearch.rubyforge.org/ for more info. I''d like to thank Thomas Kurek, who posted the WGS-84 datum approximation code (in C#) on which this plugin is based (see: http://www.codeproject.com/dotnet/Zip_code_radius_search.asp). Enjoy! -Doug Fales http://guod.net http://walkingboss.org [Sorry if this posts twice--I tried the Google Groups interface earlier and that didn''t seem to work.] -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Doug Fales wrote:> I''ve created a plugin that will help you implement radius-based > location searches from a zip code or city/state. This plugin is based > on work I did for WalkingBoss (http://walkingboss.org). > > This plugin includes everything you need to get started, including free > zip code data (about 45,000 zips and city/states), and a fully > functional ZipCodeSearchExampleController with a view.Wow, fantastic! Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Fantastically helpful, Doug! I was in the beginning processes of building this feature set in my application. Nice to know I can just install a plugin. I was not able to find a license listed. Are you releasing MIT? Dave -- ~~~~~~~~~~~~~~~~~~~ David Andrew Thompson http://en.wikipedia.org/wiki/David_Andrew_Thompson http://dathompson.blogspot.com On 10/31/06, Doug Fales <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > I''ve created a plugin that will help you implement radius-based > location searches from a zip code or city/state. This plugin is based > on work I did for WalkingBoss (http://walkingboss.org). > > This plugin includes everything you need to get started, including free > zip code data (about 45,000 zips and city/states), and a fully > functional ZipCodeSearchExampleController with a view. > > Here are the quick installation instructions: > > ruby script/plugin install > svn://rubyforge.org/var/svn/zipcodesearch/trunk > > ruby script/generate zip_code_search ZipCode > > rake migrate # This will take a long time! > > ruby script/server > > Then visit: http://localhost:3000/zip_code_search_example/index to see > the example controller in action. > > See http://zipcodesearch.rubyforge.org/ for more info. > > I''d like to thank Thomas Kurek, who posted the WGS-84 datum > approximation code (in C#) on which this plugin is based (see: > http://www.codeproject.com/dotnet/Zip_code_radius_search.asp). > > Enjoy! > -Doug Fales > http://guod.net > http://walkingboss.org > > [Sorry if this posts twice--I tried the Google Groups interface earlier > and that didn''t seem to work.] > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On 10/31/06, Phrogz <gavin-XtLdkLkwz3ZWk0Htik3J/w@public.gmane.org> wrote:> > > Doug Fales wrote: > > I''ve created a plugin that will help you implement radius-based > > location searches from a zip code or city/state. This plugin is based > > on work I did for WalkingBoss (http://walkingboss.org). > > > > This plugin includes everything you need to get started, including free > > zip code data (about 45,000 zips and city/states), and a fully > > functional ZipCodeSearchExampleController with a view. > > Wow, fantastic! Thanks!That''s huge. I imagine it might make a nice integration with google maps ? Stuart --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
doug.fales-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Oct-31 17:32 UTC
Re: [ANN] ZipCodeSearch Plugin
Yes, I''m releasing it under the MIT license. You are free to do whatever you want with the code--in fact, I intend for users to tweak the app/models/zip_code.rb model according to their needs (for instance, to change radius units to meters or kilometers). That''s why I chose to make the plugin copy code directly into the application. Hack away! -Doug On Oct 31, 10:26 am, "David Andrew Thompson" <dandrew.thomp...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Fantastically helpful, Doug! I was in the beginning processes of > building this feature set in my application. Nice to know I can just > install a plugin. > > I was not able to find a license listed. Are you releasing MIT? > > Dave > -- > ~~~~~~~~~~~~~~~~~~~ > David Andrew Thompsonhttp://en.wikipedia.org/wiki/David_Andrew_Thompsonhttp://dathompson.blogspot.com > > On 10/31/06, Doug Fales <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > > > > I''ve created a plugin that will help you implement radius-based > > location searches from a zip code or city/state. This plugin is based > > on work I did for WalkingBoss (http://walkingboss.org). > > > This plugin includes everything you need to get started, including free > > zip code data (about 45,000 zips and city/states), and a fully > > functional ZipCodeSearchExampleController with a view. > > > Here are the quick installation instructions: > > > ruby script/plugin install > > svn://rubyforge.org/var/svn/zipcodesearch/trunk > > > ruby script/generate zip_code_search ZipCode > > > rake migrate # This will take a long time! > > > ruby script/server > > > Then visit:http://localhost:3000/zip_code_search_example/indexto see > > the example controller in action. > > > Seehttp://zipcodesearch.rubyforge.org/for more info. > > > I''d like to thank Thomas Kurek, who posted the WGS-84 datum > > approximation code (in C#) on which this plugin is based (see: > >http://www.codeproject.com/dotnet/Zip_code_radius_search.asp). > > > Enjoy! > > -Doug Fales > >http://guod.net > >http://walkingboss.org > > > [Sorry if this posts twice--I tried the Google Groups interface earlier > > and that didn''t seem to work.] > > > -- > > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
doug.fales-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Oct-31 18:27 UTC
Re: ZipCodeSearch Plugin
Hi Stuart, You could certainly do some cool things with zip code searches and Google Maps, but this plugin doesn''t support any Google Maps integration. You could easily customize it to do that within your application, though. -Doug On Oct 31, 10:29 am, "Dark Ambient" <sambi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 10/31/06, Phrogz <g...-XtLdkLkwz3ZWk0Htik3J/w@public.gmane.org> wrote: > > Doug Fales wrote: > > > I''ve created a plugin that will help you implement radius-based > > > location searches from a zip code or city/state. This plugin is based > > > on work I did for WalkingBoss (http://walkingboss.org). > > > > This plugin includes everything you need to get started, including free > > > zip code data (about 45,000 zips and city/states), and a fully > > > functional ZipCodeSearchExampleController with a view. > > > Wow, fantastic! Thanks!That''s huge. I imagine it might make a nice integration with google maps ? > > Stuart--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---