Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
QgsGdalProvider::readBlock(): simplify call to GDALRasterIO()
Instead of doing our own nearest neighbour resampling, use directly the one of GDAL to avoid creating a temporary buffer. Should hopefully be slightly more performant, and at least less complicated on QGIS side. Update a few test cases that are sensitive to the difference in resampling
- Loading branch information
1 parent
5cd56e3
commit 45539cf
Showing
4 changed files
with
59 additions
and
133 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
Binary file modified
BIN
+0 Bytes
(100%)
...palettedrenderer_nodata_color/expected_raster_palettedrenderer_nodata_color.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.