Sustainability and resilience of human settlements