Sha256: 3c3ab69b34a33ccb2340022a5ef4d863b9cd317dcd73f7ad0df58a34815de781
Contents?: true
Size: 698 Bytes
Versions: 1
Compression:
Stored size: 698 Bytes
Contents
# geo_rb [![Gem Version](http://img.shields.io/gem/v/geo_rb.svg)][gem] [![Code Climate](https://codeclimate.com/github/kucho/geo_rb.svg)][codeclimate] geo_rb makes it easy for Ruby developers to locate the coordinates of addresses, cities, countries, and landmarks across the globe using third-party geocoders. It is heavily inspired by [geopy](https://github.com/geopy/geopy). ## Install gem install geo_rb ## Usage ### Address lookup ```ruby plaza = GeoRb::Location.lookup("Plaza San Martin, Lima, Peru") palacio = GeoRb::Location.lookup("Palacio de Justicia, Lima, Peru") plaza.distance_to(palacio).km # => 0.6649563608870949 palacio.distance_to(plaza).km # => 0.6649563608870949 ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
geo_rb-0.0.1 | README.md |