an astronomical instrument used to determine latitude and longitude