Factors influencing settlement patterns in arid regions