a nested list is a list nested within another list (you can nest dictionarys too, and lists within dictionaries and vice versa..)In this case, you want a list of verticies for the polygonand each vertex entry is a list of the x and y coordinates.line this:theFeatureList = [
[59.9359664290001, 58.2873293230001],
[59.9354474180001, 58.292897049],
[59.9359664290001, 58.2873293230001],
[15.7361337040001, 69.5741156380001],
[5.46961326000007, 74.605524862],
[21.6743239320001, 90.0000000000001],
[61.6145099540001, 90.0000000000001],
[74.588779291, 78.7328713650001],
[74.9956238680001, 62.052243682],
[59.9359664290001, 58.2873293230001],
[29.5877337620001, 75.2087581980001],
[29.5902670670001, 75.2091884760001],
[29.5877337620001, 75.2087581980001]
]
Then, as you loop through the outer list, it returns a llist of xy pairs you can access by index (0 and 1).Furthermore, if your grid is regular, you needn't make a list of each new anchor point;you can just increment the offsets.offsetX = 0, offsetY = 0draw the first polygonoffsetX += cellSizeXdraw the secondwhen you finish that row (by counting the steps)reset offsetX to 0 and increment offsetY += cellSizeY