One of the most important tasks of urban and hazard planning is to mitigate the damages and minimize the costs of the recovery process after catastrophic events. In this context, the capability of urban systems and communities to recover from disasters is referred to as resilience. Despite the problem of resilience quantification having received a lot of attention, a mathematical definition of the resilience of an urban community, which takes into account the social aspects of an urban environment, has not yet been identified. In this article, we provide and test a methodology for the assessment of urban resilience to catastrophic events which aims at bridging the gap between the engineering and the ecosystem approaches to resilience. We pr...