GeoCoder and Weather
The GeoCoder and Weather accessors together provide the local weather.
Both accessors are displayed on this page.
If you do not see the accessors below, then see the
instructions for running a browser host.
- Use GeoCoder to look up the latitude and longitude of an address. Enter a city or address in "address" and click "react to inputs".
- Use Weather to look up the local weather for a latitude and longitude. Copy the "location" output from GeoCoder, enter into "location", and click "react to inputs".
NOTE: You need to obtain "keys" for the Google Geocoding API and for openweathermap.org. TerraSwarm members may use the keys at:
Other users can obtain keys for free at:
- https://developers.google.com/maps/documentation/geocoding/intro
- http://openweathermap.org/appid
Then, set up a key file on the server (see
keys.README.txt) or enter the keys directly into the 'key' parameters of the GeoCoder and Weather accessors.