Does anyone know the easiest way to find a city and state based on a
supplied postal code?
Thanks for your help.
Does anyone know the easiest way to find a city and state based on a
supplied postal code?
Thanks for your help.
You could use Google’s or Yahoo’s geo-coding api for that.
–
Thiago J.
acts_as_solr => http://acts-as-solr.railsfreaks.com
On Nov 29, 2007 6:34 PM, Thiago J. [email protected] wrote:
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.
Thanks guys. Very helpful
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs