github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

collectiveidea / graticule

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 214
    • 15
  • Source
  • Commits
  • Network (15)
  • Issues (6)
  • Downloads (5)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (3)
    • 1.0
    • httparty
    • master ✓
  • Tags (5)
    • v1.0.0.pre2
    • v0.2.12
    • v0.2.11
    • 0.2.10
    • 0.2.9
Sending Request…
Click here to lend your support to: graticule and make a donation at www.pledgie.com ! Edit Pledgie Setup

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Graticule is a geocoding API for looking up address coordinates and performing distance calculations, supporting many popular APIs. — Read more

  cancel

http://graticule.rubyforge.org/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Regenerated gemspec for version 1.0.0.pre2 
danielmorrison (author)
Thu Feb 04 11:20:13 -0800 2010
commit  6230c7d674b76ee092890d32ddebc9f4d38d3b5e
tree    66eebb5fe39343fca86e62938a1cbb6967b82833
parent  bd3c38111fb0d300a95431e4981c1d38b4c45fa4
graticule /
name age
history
message
file .autotest Thu Oct 08 12:09:19 -0700 2009 Make tests mirror lib directory and add .autote... [brandon]
file .gitignore Thu Feb 04 11:17:40 -0800 2010 Convert precision to an object and allow compar... [danielmorrison]
file CHANGELOG.txt Mon Sep 21 15:23:31 -0700 2009 Added freethepostcode.org geocoder [Chris Lowis] [brandon]
file LICENSE.txt Sat Dec 16 08:01:49 -0800 2006 released 0.1.1 [brandon]
file README.txt Sun Oct 04 17:38:39 -0700 2009 Remove the PostcodeAnywhere geocoder. I don't ... [brandon]
file Rakefile Sat Dec 05 20:57:13 -0800 2009 Version bump to 1.0.0.pre [brandon]
file VERSION Thu Feb 04 11:18:19 -0800 2010 Bump version to 1.0.0pre2 [danielmorrison]
directory bin/ Mon Mar 12 10:54:30 -0700 2007 added international geocoders international-ize... [brandon]
file graticule.gemspec Thu Feb 04 11:20:13 -0800 2010 Regenerated gemspec for version 1.0.0.pre2 [danielmorrison]
file init.rb Fri Dec 15 20:35:27 -0800 2006 migrated to hoe added other distance calculations [brandon]
directory lib/ Thu Feb 04 11:17:40 -0800 2010 Convert precision to an object and allow compar... [danielmorrison]
directory site/ Sun Nov 23 16:02:34 -0800 2008 removed unnecessary style [brandon]
directory test/ Thu Feb 04 11:17:40 -0800 2010 Convert precision to an object and allow compar... [danielmorrison]
README.txt
= 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.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server