The Swiss railway line Schaffhausen - Zürich leads 8.2 kilometers (5.1 miles) through the south territory of Germany.