Flow and deposition in and around a finite patch of vegetation