Spatial pattern and ecological analysis