The exponential growth of population and industries has brought about an increase in energy consumption, causing severe climatic and environmental problems. Therefore, the move towards green renewable energy is being ever more intensified. This study aims at estimating the rooftop solar power production for Tehran, the capital city of Iran, using a Geospatial Information System (GIS) to assess the big data of city building parcels. Tehran is faced with severe air pollution due to its excessive fossil fuel usage, and its electricity demand is increasing. As a result, this paper attempts to provide the quantified solar power potential of city roof tops for policymakers and authorities in order to facilitate decision-making in relation to integrating renewable energies into the power production infrastructure. The results shows that approximately 3000 GWh (more than 14% of the total electric energy consumption) of solar power can be produced by the rooftop PV installations in Tehran. The potential nominal power of rooftop PV installations is estimated to be more than 2000 MW, which is four times the current installed PV capacity of the whole country. The findings of the study suggest that there is great potential hidden on the rooftops of the city, which can be utilized to assist the power systems of the city in the longer run for a more sustainable future.