def warn_for_geometry_collections(self):
geom_collections = [<EOL>feature.get('<STR_LIT>') if feature.get('<STR_LIT>') is not None else key<EOL>for key, feature in enumerate(self._parent.data['<STR_LIT>'])<EOL>if feature['<STR_LIT>']['<STR_LIT:type>'] == '<STR_LIT>'<EOL>]<EOL>if any(geom_collections):<EOL><INDENT>warnings.warn(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>".format(geom_collections), UserWarning)<EOL><DEDENT>
Checks for GeoJson GeometryCollection features to warn user about incompatibility.