I want to end up with a set of polygons like below. "POLYGON((2 3,2 5,4 5,4 3,2 3))" "POLYGON((2 5,2 6,4 6,4 5,2 5))" "POLYGON((4 6,2 6,2 5,1 5,1 9,5 9,5 8,4 8,4 6))" "POLYGON((4 6,5 6,5 5,4 5,4 6))" "POLYGON((5 6,4 6,4 8,5 8,5 6))" "POLYGON((5 5,5 6,7 6,7 5,5 5))" "POLYGON((5 5,5 3,4 3,4 5,5 5))" "POLYGON((5 3,5 5,7 5,7 3,5 3))" "POLYGON((4 3,5 3,7 3,7 5,7 6,8 6,8 2,4 2,4 3))" "POLYGON((5 8,7 8,7 6,5 6,5 8))" They look like the image below with no overlaps.