Class: Geokit::Geocoders::MultiGeocoder

Inherits:
Geocoder
  • Object
show all
Defined in:
lib/geokit/geocoders/multi_geocoder.rb

Overview

Provides methods to geocode with a variety of geocoding service providers, plus failover among providers in the order you configure. When 2nd parameter is set ‘true’, perform ip location lookup with ‘address’ as the ip address.

Goal:

  • homogenize the results of multiple geocoders

Limitations:

  • currently only provides the first result. Sometimes geocoders will return multiple results.

  • currently discards the “accuracy” component of the geocoding calls

Method Summary

Methods inherited from Geocoder

call_geocoder_service, geocode, reverse_geocode