City, State Lookup from Postal Code - RUBY

This is a discussion on City, State Lookup from Postal Code - RUBY ; Does anyone know the easiest way to find a city and state based on a supplied postal code? Thanks for your help. -- Posted via http://www.ruby-forum.com/ ....

+ Reply to Thread
Results 1 to 4 of 4

City, State Lookup from Postal Code

  1. Default City, State Lookup from Postal Code

    Does anyone know the easiest way to find a city and state based on a
    supplied postal code?

    Thanks for your help.
    --
    Posted via http://www.ruby-forum.com/.


  2. Default Re: City, State Lookup from Postal Code

    You could use Google's or Yahoo's geo-coding api for that.

    --
    Thiago Jackiw
    acts_as_solr => http://acts-as-solr.railsfreaks.com

    On Nov 29, 2007 3:23 PM, Bill Grundler <truegrundler@gmail.com> wrote:
    > Does anyone know the easiest way to find a city and state based on a
    > supplied postal code?
    >
    > Thanks for your help.
    > --
    > Posted via http://www.ruby-forum.com/.
    >
    >



  3. Default Re: City, State Lookup from Postal Code

    On Nov 29, 2007 6:34 PM, Thiago Jackiw <tjackiw@gmail.com> wrote:
    > You could use Google's or Yahoo's geo-coding api for that.
    >
    > --
    > Thiago Jackiw
    > acts_as_solr => http://acts-as-solr.railsfreaks.com
    >
    >
    > On Nov 29, 2007 3:23 PM, Bill Grundler <truegrundler@gmail.com> wrote:
    > > Does anyone know the easiest way to find a city and state based on a
    > > supplied postal code?
    > >
    > > Thanks for your help.
    > > --
    > > Posted via http://www.ruby-forum.com/.
    > >
    > >

    >
    >


    I had to do that for a store website once, and I bought a giant text
    file with every ZIP code for about $5. ZIP codes change from time to
    time (and new ones are added), so you have to buy a new copy every
    once in a while.

    Or you could use the APIs Bill talked about, which is probably a more
    robust solution, though a bit more complicated to implement.


  4. Default Re: City, State Lookup from Postal Code

    Thanks guys. Very helpful
    --
    Posted via http://www.ruby-forum.com/.


+ Reply to Thread

Similar Threads

  1. Replies: 1
    Last Post: 11-28-2007, 10:40 PM
  2. Replies: 1
    Last Post: 10-26-2007, 12:10 PM
  3. AUTOCHECKBOX STATE=("UNCHECK) STATE=(CHECK) does not work
    By Application Development in forum REXX
    Replies: 3
    Last Post: 06-11-2007, 12:08 PM
  4. Replies: 0
    Last Post: 04-24-2007, 09:08 AM