Convert location info into a namedtuple.