ttthzy1/shipyard


Composable Docker Management

http://graticule.rubyforge.org/

License: BSD-3-Clause

Language: Ruby


= Graticule

Graticule is a geocoding API for looking up address coordinates.  It supports many popular APIs, including Yahoo, Google, Geocoder.ca and Geocoder.us.

= Usage

  require 'rubygems'
  require 'graticule'
  geocoder = Graticule.service(:google).new "api_key"
  location = geocoder.locate "61 East 9th Street, Holland, MI"

= Distance Calculation

Graticule includes 3 different distance formulas, Spherical (simplest but least accurate), Vincenty (most accurate and most complicated), and Haversine (somewhere inbetween).

  geocoder.locate("Holland, MI").distance_to(geocoder.locate("Chicago, IL"))
  #=> 101.997458788177
  
= Command Line

Graticule includes a command line interface (CLI).

  $ geocode -s yahoo -a yahookey Washington, DC
  Washington, DC US
  latitude: 38.895222, longitude: -77.036758

= Mailing List

Join us on the mailing list at http://groups.google.com/group/graticule

= How to contribute

If you find what you might think is a bug:

1. Check the GitHub issue tracker to see if anyone else has had the same issue.
   http://github.com/collectiveidea/graticule/issues/
2. If you don't see anything, create an issue with information on how to reproduce it.

If you want to contribute an enhancement or a fix:

1. Fork the project on github.
   http://github.com/collectiveidea/graticule/
2. Make your changes with tests.
3. Commit the changes without making changes to the Rakefile, VERSION, or any other files that aren't related to your enhancement or fix
4. Send a pull request.

Project Statistics

Sourcerank 5
Repository Size 279 KB
Stars 0
Forks 0
Watchers 1
Open issues 0
Dependencies 2
Contributors 4
Tags 12
Created
Last updated

Top Contributors See all

Brandon Keepers Daniel Morrison Brian Ryckbost Tom Taylor

Recent Tags See all

v3.0.0 September 06, 2015
v2.0.8 January 01, 2015
v2.0.6 November 26, 2014
v2.0.5 November 26, 2014
v2.0.4 November 11, 2014
v2.0.3 October 21, 2014
v1 September 11, 2014
v1.0.0.pre2 February 04, 2010
v0.2.12 September 06, 2009
v0.2.11 July 16, 2009
0.2.10 April 17, 2009
0.2.9 April 14, 2009

Something wrong with this page? Make a suggestion

Last synced: 2017-04-04 14:18:33 UTC

Login to resync this repository