Analysis of spatially dependent data