Generalized, quantile and constrained nonparametric regression for spatial data