Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] 10638 WFS GetFeature may be incomplete if layer reports esti…
…mated feature count layer->featureCount() sometimes returns an estimated feature count. In this case, the WFS server returns an incomplete reply (if called without maxfeatures). To make QgsWFSServer::getFeature a bit more robust, it's better to do not take account of layer->featureCount() and use while ( fit.nextFeature( feature ) && ( featureCounter < maxFeat || maxFeatures == -1 ) )
- Loading branch information
Showing
1 changed file
with
7 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters