A major railway route in Switzerland has been blocked by a landslide following persistent rain that has swollen rivers in much of the Alpine country.

Switzerland's national railway said the line between the capital of Bern and the city of Fribourg, part of the country's main Zurich-Geneva rail route, was shut down Sunday afternoon. It wasn't immediately clear when the line would reopen.

In Geneva, police closed several bridges across the swollen Arve river over the weekend. Roads in the small town of St-Gingolph, on the border with France, were covered in mud and gravel after the Morge river burst its banks.