Class: QgsFeatureFilterProviderGroup

class qgis.server.QgsFeatureFilterProviderGroup

Bases: QgsFeatureFilterProvider

A filter filter provider grouping several filter providers.

New in version 3.0.

QgsFeatureFilterProviderGroup() Constructor

QgsFeatureFilterProviderGroup(QgsFeatureFilterProviderGroup)

Methods

addProvider

Add another filter provider to the group

clone

Returns a clone of the object

filterFeatures

Filter the features of the layer.

layerAttributes

param layer

addProvider(self, provider: QgsFeatureFilterProvider)QgsFeatureFilterProviderGroup

Add another filter provider to the group

Parameters

provider (QgsFeatureFilterProvider) – The provider to add

Return type

QgsFeatureFilterProviderGroup

Returns

itself

clone(self)QgsFeatureFilterProvider

Returns a clone of the object

Return type

QgsFeatureFilterProvider

Returns

A clone

filterFeatures(self, layer: QgsVectorLayer, filterFeatures: QgsFeatureRequest)

Filter the features of the layer.

Parameters
layerAttributes(self, layer: QgsVectorLayer, attributes: Iterable[str])List[str]
Parameters
Return type

List[str]