Subgroup: Vector
Class: QgsVectorLayerFeatureSource¶
-
class
qgis.core.
QgsVectorLayerFeatureSource
¶ Bases:
qgis._core.QgsAbstractFeatureSource
Partial snapshot of vector layer’s state (only the members necessary for access to features)
Methods
crs
Returns the coordinate reference system for features retrieved from this source. fields
Returns the fields that will be available for features that are retrieved from this source. getFeatures
iteratorClosed
iteratorOpened
Attributes
-
crs
(self) → QgsCoordinateReferenceSystem¶ Returns the coordinate reference system for features retrieved from this source.
New in version 3.0.
-
fields
(self) → QgsFields¶ Returns the fields that will be available for features that are retrieved from this source.
New in version 3.0.
-
getFeatures
(self, request: QgsFeatureRequest = QgsFeatureRequest()) → QgsFeatureIterator¶
-
iteratorClosed
()¶
-
iteratorOpened
()¶
-