This add-on is operated by SimpleGeo
Build location-aware mobile and web applications easily and affordably
SimpleGeo is a service that provide access to geospatial data and storage of geospatial data.
There are 3 main products:
- SimpleGeo Context: Relevant contextual information such as geographic boundaries, weather, and demographics for any location.
- SimpleGeo Places: A database of high-quality business listings and points of interest with local query abilities.
- SimpleGeo Storage: A geographically aware, super-fast database in the cloud, tuned specifically for querying and storing location data.
You can choose from ‘bronze’, ‘silver’, and ‘gold’. These correlate to SimpleGeo’s Basic, Plus, and Premium plans.
$ heroku addons:add simplegeo:bronze
Install the gem.
$ gem install simplegeo
Code it up!
require 'rubygems' require 'pp' require 'simplegeo' SimpleGeo::Client.set_credentials() context = SimpleGeo::Client.get_context(37.772445,-122.405913) pp context