The distance between Mataa and Kataragama is 102 km. You could take a train between Matara and Kataragama since there is a direct line between the two.