Urban-rural gradient detection using multivariate spatial analysis and landscape metrics