Accurate position reference based on a map of the stars