Polygons are an array of coordinate tuples (i.e. linear rings), which start and end with the same point. I think this needs to change to accepting an array of polygons. Doing that in my follow-up commit.