getSpatialData function

Return spatial data associated with a set of locations