Spatial correlation of cosmic rays