Spatial smoothing for data distributed over non-planar domains