Spatial Analysis: Spatial partitioning of regions: patch and boundary