Convert Spatial Grids to Polygons