Uniform Electron Gases. II. The Generalized Local Density Approximation in One Dimension