QgsSpatialIndexData class
Data of spatial index that may be implicitly shared.
Contents
Constructors, destructors, conversion operators
- QgsSpatialIndexData(const QgsFeatureIterator& fi, QgsFeedback* feedback = nullptr) explicit
- Constructor for QgsSpatialIndexData which bulk loads features from the specified feature iterator fi.
Public variables
Function documentation
QgsSpatialIndexData:: QgsSpatialIndexData(const QgsFeatureIterator& fi,
QgsFeedback* feedback = nullptr) explicit
Constructor for QgsSpatialIndexData which bulk loads features from the specified feature iterator fi.
The optional feedback object can be used to allow cancelation of bulk feature loading. Ownership of feedback is not transferred, and callers must take care that the lifetime of feedback exceeds that of the spatial index construction.