blaedj / smweather

a text-message option for weather forcasts
0 stars 1 forks source link

Geocoding! #16

Open blaedj opened 11 years ago

blaedj commented 11 years ago

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

thesubtlety commented 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 .

thesubtlety commented 11 years ago

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 .

blaedj commented 11 years ago

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.

blaedj commented 10 years ago

the weatherunderground api offers full geocoding, although the free option is a little more restrictive. winderground api page