Adaptive Sampling for Spatial Prediction in Wireless Sensor Networks