gets lat, long from lin