Biodiversity results from differentiation mechanisms developing within biological populations. Such mechanisms are influenced by the properties of the landscape over which individuals interact, disperse and evolve. The documentation of high levels of species diversity in complex mountain region or riverine systems suggest that some peculiar landscape properties foster diversity. I use mathematical models to investigate how landscape connectivity and habitat heterogeneity foster diversity.