Decentralized Spatial Computing: Foundations of Geosensor Networks