The rigole de la montagne was an important facet of the Canal du Midi, engineered by Pierre-Paul Riquet in southern France. The canal itself was built during 1666–1681. A critical aspect of the Canal du Midi was the supply of sufficient water to feed the canal. Each boat traversing its length would require a large quantity of water in the locks in order to climb or descend.