Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix virtual layer FilterRect handling when no uid is defined (fixes #…
…15709) When no uid if defined, features returned have an id defined by an autoincremented integer. So we cannot use a SQL filter here because it would return a subset of features and then an autoincremented id that does not correspond to ids without filters. So in this case, all the features are requested and the rectangle intersection is done by the provider, not by SQLite.
- Loading branch information
Hugo Mercier
committed
Oct 26, 2018
1 parent
225c922
commit efe4a79
Showing
3 changed files
with
120 additions
and
47 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
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
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