Exploiting large surveys for Galactic astronomy