geometric_features.feature_collection.FeatureCollection.difference

FeatureCollection.difference(maskingFC)[source]

Use features from a masking collection to mask out (remove part of the geometry from) this collection.

Parameters:
maskingFC : FeatureCollection`

Another collection of one or more features to use as masks

Returns:
fc : FeatureCollection

A new feature collection with a single feature with the geometry masked