toGeometryCollection
Converts a FeatureCollection to a GeometryCollection by extracting all geometries from the features.
Keeps bbox and FeatureCollection.foreignMembers. Per-feature foreign members stay on each feature's geometry when present; they are not copied onto the collection. combine and explode rebuild geometries from coordinates and drop both.
Return
A GeometryCollection containing all non-null geometries from the feature collection.