Mapping the Milky Way and the Local Group