We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 7baa623 commit 353d4fcCopy full SHA for 353d4fc
src/core/qgsspatialindex.cpp
@@ -163,6 +163,14 @@ class QgsSpatialIndexData : public QSharedData
163
initTree();
164
}
165
166
+ /**
167
+ * Constructor for QgsSpatialIndexData which bulk loads features from the specified feature iterator
168
+ * \a fi.
169
+ *
170
+ * The optional \a feedback object can be used to allow cancelation of bulk feature loading. Ownership
171
+ * of \a feedback is not transferred, and callers must take care that the lifetime of feedback exceeds
172
+ * that of the spatial index construction.
173
+ */
174
explicit QgsSpatialIndexData( const QgsFeatureIterator &fi, QgsFeedback *feedback = nullptr )
175
{
176
QgsFeatureIteratorDataStream fids( fi, feedback );
0 commit comments