Hierarchical spatial gossip for multi-resolution representations in sensor networks