Open blaedj opened 11 years ago
Possibly. May want to keep things simple and have the user input a zip code. Eg my area code is tx but I'm not worried about tx weather... On Nov 9, 2013 6:51 PM, "blaedj" notifications@github.com wrote:
We will need to figure out some way of converting from CITY, STATE to LATITUDE,LONGITUDE, aka some sort of geocoding service. Railscasts describes one optionhttp://railscasts.com/episodes/273-geocoder
— Reply to this email directly or view it on GitHubhttps://github.com/blaedj/smweather/issues/16#issuecomment-28140101 .
Never mind I see what you're saying. Yes good idea... On Nov 9, 2013 6:51 PM, "blaedj" notifications@github.com wrote:
We will need to figure out some way of converting from CITY, STATE to LATITUDE,LONGITUDE, aka some sort of geocoding service. Railscasts describes one optionhttp://railscasts.com/episodes/273-geocoder
— Reply to this email directly or view it on GitHubhttps://github.com/blaedj/smweather/issues/16#issuecomment-28140101 .
freegeoip is another option, google's api has some interesting restrictions. it is actually possible to configure the rubygeocode gem mentioned above to use freegeoip, something to look into.
the weatherunderground api offers full geocoding, although the free option is a little more restrictive. winderground api page
We will need to figure out some way of converting from CITY, STATE to LATITUDE,LONGITUDE, aka some sort of geocoding service. Railscasts describes one option