Parse polygons