Spatially weighted model approximation