Extract goals from map