Estimation of local parameters and global parameters with Gaia