geometric_features.FeatureCollection.difference
- FeatureCollection.difference(maskingFC, show_progress=False)[source]
Use features from a masking collection to mask out (remove part of the geometry from) this collection.
- Parameters:
maskingFC (geometric_features.FeatureCollection) – Another collection of one or more features to use as masks
show_progress (bool) – Show a progress bar
- Returns:
fc (geometric_features.FeatureCollection) – A new feature collection with a single feature with the geometry masked