A socio-spatial analysis of vulnerability to climate change