geometric_features.FeatureCollection.combine

FeatureCollection.combine(featureName)[source]

Combines the geometry of the feature collection into a single feature

Parameters:

featureName (str) – The name of the new, combined feature

Returns:

fc (geometric_features.FeatureCollection) – A new feature collection with a single feature with the combined geometry

Raises:

ValueError – If the combined geometry is of an unsupported type (typically GeometryCollection)