Predicting ecosystem collapse: Spatial factors that influence risks to