Chris Muench
Chris Muench

Reputation: 18328

Zip Code Search Rails 3 application recommendations

Does anyone have any good recommendations for zip code search in rails? I have looked at: http://zipcodesearch.rubyforge.org/, but it seems a little old.

Upvotes: 0

Views: 1347

Answers (2)

zetetic
zetetic

Reputation: 47568

Thinking Sphinx can search based on latitude/longitude.

Upvotes: 0

Chirantan
Chirantan

Reputation: 15654

Geokit

What can Geokit do for you?

  • Distance calculations between two points on the earth.
  • Calculate the distance in miles or KM, with all the trigonometry abstracted away by Geokit.
  • ActiveRecord distance-based finders. For example, you can find
    all the points in your database
    within a 50-mile radius.
  • Geocoding from multiple providers. It supports Google, Yahoo, Geocoder.us, Geonames,
    Geocoder.ca, and more.
  • Geokit provides a uniform response structure from all of them. It also provides a fail-over mechanism, in case your input fails to geocode in one service.
  • IP-based location lookup utilizing hostip.info. Provide an IP
    address, and get city name and
    latitude/longitude in return.
  • A before_filter helper to geocode the user's location based on IP address, and retain the location in a cookie.

Upvotes: 2

Related Questions