Between Cusco and Machu Picchu, Peru
The zig-zags start as the line climbs steeply out of Cusco, or Qosqu, and continue for five series. Zig-zags and switchbacks are not uncommon in railway lines in the Andes, though not usually so many in the distance.