0.0
No commit activity in last 3 years
No release in over 3 years
This gem consists two additional geocoders for geokit, Yahoo! PlaceFinder and Google V3. And add support for caching using api_caching gem.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.2.0
~> 1.0.0
~> 1.5.2
>= 0
~> 0.6.0
>= 0

Runtime

>= 1.5.0
>= 0.8.2
 Project Readme

geocoder_plus

This gem has two additional geocoders for geokit gem, Yahoo! PlaceFinder and Google V3. Google V3 code is taken from https://github.com/tello/google-v3-geocoder.

Support for query caching is added by using api_cache.

Quick Start

# Install
gem install geocoder_plus
gem install api_cache
gem install moneta

# Configuration
Add following configuration to your geokit config file:

require 'api_cache'
require 'moneta'
require 'moneta/memcache'
Geokit::Geocoders::api_cache         = 604800
Geokit::Geocoders::api_cache_valid   = :forever
Geokit::Geocoders::api_cache_timeout = 5
APICache.store = Moneta::Memcache.new(:server => localhost:11211, :namespace => 'geokit')

Contributing

There is a Gemfile to make running the specs easy:

bundle install
bundle exec rake

Code, write specs, send pull request, easy as pie. Thanks!

Copyright

Copyright (c) 2011 Fajar A B. See LICENSE for details.