There was a whole series of these around the town walls keeping the water levels in the canals constant.