Defining architecture for spatial data storage and analytics