Space, settlements, towns: the influence of geography and market access on settlement distribution and urbanization