geometric_features.feature_collection.FeatureCollection.feature_in_collection

FeatureCollection.feature_in_collection(feature)[source]

Is this feature already in the collection?

Parameters

feature (dict) – The feature to check

Returns

inCollection (bool) – Whether the feature is in the collection