Our roofs are idle sources of income that are waiting for their resources to be harnessed. Rainwater harvesting and solar power can be of huge benefit when applied at scale.

Roof takes your address and calculates the total rainfall and solar power you can generate from an average roof of size 1000 sm m at that location.

We utilized Google Cloud APIs to accomplish most of the goals for this project. Google Maps API helped generate a map and style it. Places library in Google Maps helps us autocomplete search results and select an address from over 100 million locations. This Geocode through the help of OpenWeatherMaps API tells us the amount of sunlight and thus solar output an area can achieve.

The main challenge with this project was with Google Maps Polygon and Drawing Manager libraries. Relatively unused, the libraries lacked detailed documentation and examples. Understanding and failing to utilize the libraries took a majority of the project period.

We are grateful that we were able to come up with solutions at every moment of hardship. When the libraries were not working, we found better libraries. Same with the API and MapStyles.

What we have learned from this project is that sustainable living on renewable energy is now more than ever necessary for a better future. With the estimates we have gathered from Roof, we can proudly say that our houses are more than capable of providing for our needs.

Getting more accurate numbers for water saved and power generated along with being able to select and customize a roof shape and solar panels are the next goals for this project.

Share this project:

Updates