Methods for efficient storage, distribution and scalable analysis of spatial data