Based on BATC and SDSS photometric data, we adopt the spectral energy distribution (SED) fitting method to evaluate stellar metallicities in the Galaxy. We find that the mean metallicity shifts from metal-rich to metal-poor with the increase of distance from the Galactic Centre.