Skip to content
Browse files

Add docs for cache warming

  • Loading branch information
m-kuhn committed Oct 1, 2018
1 parent b210e7d commit a05e787d5a464ccc26db33561546b95d748b502f
Showing with 5 additions and 2 deletions.
  1. +5 −2 src/analysis/vector/geometry_checker/qgsfeaturepool.h
@@ -47,8 +47,11 @@ class ANALYSIS_EXPORT QgsFeaturePool : public QgsFeatureSink SIP_ABSTRACT
bool getFeature( QgsFeatureId id, QgsFeature &feature );

* Warm the cache ...
* TODO write more docs
* Get features for the provided \a request. No features will be fetched
* from the cache and the request is sent directly to the underlying feature source.
* Results of the request are cached in the pool and the ids of all the features
* are returned. This can be used to warm the cache for a particular area of interest
* (bounding box) or other set of features.
QgsFeatureIds getFeatures( const QgsFeatureRequest &request ) SIP_SKIP;

0 comments on commit a05e787

Please sign in to comment.
You can’t perform that action at this time.