public PShape createShapeGroup(List<Feature> features) {
shapeGroup = createShape(PShape.GROUP);
for (int i = 0; i < features.size(); i++) {
Feature feature = features.get(i);
if (feature.getType().equals(FeatureType.POLYGON)) {
ShapeFeature shapeFeature = (ShapeFeature) feature;
updateShape("c" + i, shapeFeature, false);
}
}