Automating the Analysis of Spatial Grids: A Practical