Adds a view for the spatial data