Subgroup: Cached
Class: QgsCachedFeatureIterator¶
-
class
qgis.core.
QgsCachedFeatureIterator
¶ Bases:
qgis._core.QgsAbstractFeatureIterator
Delivers features from the cache
Methods
close
Close this iterator. compileStatus
Returns the status of expression compilation for filter expression requests. deref
fetchFeature
Implementation for fetching a feature. filterRectToSourceCrs
geometryToDestinationCrs
isValid
Returns if this iterator is valid. nextFeature
fetch next feature, return true on success nextFeatureFilterExpression
nextFeatureFilterFids
We have a local special iterator for FilterFids, no need to run the generic. prepareSimplification
ref
rewind
Rewind to the beginning of the iterator Attributes
Compiled
NoCompilation
PartiallyCompiled
-
close
(self) → bool¶ Close this iterator. No further features will be available.
Returns: true if successful
-
deref
()¶
-
fetchFeature
(self, f: QgsFeature) → bool¶ Implementation for fetching a feature.
Parameters: f – Will write to this feature Returns: bool true if the operation was OK See also
bool()
-
filterRectToSourceCrs
()¶
-
geometryToDestinationCrs
()¶
-
nextFeatureFilterExpression
()¶
-
nextFeatureFilterFids
(self, f: QgsFeature) → bool¶ We have a local special iterator for FilterFids, no need to run the generic.
Parameters: f – Will write to this feature Returns: bool true if the operation was OK
-
prepareSimplification
()¶
-
ref
()¶
-
rewind
(self) → bool¶ Rewind to the beginning of the iterator
Returns: bool true if the operation was OK
-