To the south is the Canton of St. Gallen ; to the west are the cantons of ZÃ 1\/4 rich and Schaffhausen . To the south lies the canton of St. Gallen ; to the west lie the cantons of ZÃ 1\/4 rich and Schaffhausen .