Local-regional relationships and the geographical distribution of species