How Did Amsterdam Build Its Canal Houses?

Amsterdam has one of those skylines you recognize immediately—tall, narrow houses standing shoulder to shoulder beside the canals, their brick façades rising three, four, sometimes five storeys above the water.