postgresql map statistics

compute averages, wind speed and views