Spatial models with functional covariate process