generate spatial data