Ruby equivalent of Geo::Coder::US for geocoding purposes

Posted on 2007-07-21
Last Modified: 2008-01-09
I downloaded the Tiger data from the US Census website and then imported it into a Berkeley database using the instructions on the following page:

The instructions above show how to use Perl to get the data from the database via Geo::Coder::US;.  Does anyone know if there's a Ruby equivalent to Geo::Coder::US that would allow me to accomplish the same thing?

Here's the Perl code for reference:
#!/usr/bin/perl -w
Use Geo::Coder::US;
my ($stadium) = Geo::Coder::US->geocode
                ("411 Woody Hayes Dr, Columbus, OH");
print "The Ohio State University stadium coordinates:
       Latitude ($stadium->{lat}) Longitude($stadium->{long})";
Question by:acrocat
    LVL 24

    Accepted Solution

    It seems the only things available for that are for Rails applications:


    So it seems you have to check out this things and see whether you can make use of it

    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Add a simple drop down from controller 5 377
    Get Latest files 4 302
    cucumber related issue 8 374
    Ruby on Rails - IIS Windows Server 2008 2 1,004
    Article by: narshlob
    If you've ever programmed in Ruby and have come across either a proc or a lambda, you might have been wondering what the difference is between the two and when you would use one over the other. This article will try to explain the difference between…
    Recently I spent hours debugging an issue in a Rails project where ActiveRecord was causing MySQL errors trying to create a User object of a class at the top level of a Single Table Inheritance model structure.  It turns out `.create` behaves differ…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    This video discusses moving either the default database or any database to a new volume.

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now