No commit activity in last 3 years
No release in over 3 years
The geocoder-simplified gem is intended to offer a no-frills wrapper on the geocoder gem.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

geocoder-simplified

The 'geocoder-simplified' gem provides a no-frills wrapper on the geocoder gem.
This includes rate limiting using Redis and API rollover based on failure or rate control.

Please let me know if you find a way to make this better.

Cheers,
Sean Vikoren


Example Usage:

require "geocoder-simplified"

place_name = "Reno, NV, USA"
latitude, longitude, api_name = GeocoderSimplified.locate(place_name)
puts "% 35s: (%0.8f, %0.8f) via '%s'" % [place_name, latitude, longitude, api_name]

# => Reno, NV, USA: (39.52963300, -119.81380300) via 'geocoder_ca'