geometric_features.FeatureCollection
- class geometric_features.FeatureCollection(features=None, otherProperties=None)[source]
 An object for representing and manipulating a collection of geoscientific geometric features.
- Variables:
 
Methods
__init__([features, otherProperties])Construct a new feature collection
add_feature(feature)Add a feature to the feature collection if it isn't already present
combine(featureName)Combines the geometry of the feature collection into a single feature
difference(maskingFC[, show_progress])Use features from a masking collection to mask out (remove part of the geometry from) this collection.
feature_in_collection(feature)Is this feature already in the collection?
Split features at +/-180 degrees (the antimeridian) to make them valid geojson geometries
merge(other)Merge another feature collection into this one
plot(projection[, maxLength, figsize, ...])Plot the features on a map using cartopy.
set_group_name(groupName)Set the group name of a feature collection
simplify([tolerance])Features in the collection are simplified using
shapelytag(tags[, remove])Add tags to all features in the collection
to_geojson(fileName[, stripHistory, indent])Write the feature collection to a geojson file