Open AlisterH opened 1 year ago
@AlisterH , enable [x] early resampling:
Without that, resampling settings are ignored with reprojected rasters.
You mean non-reprojected rasters.
That's pretty weird:
Is there even any reason why someone would want early resampling disabled?
I don't know what's going on here, but at the moment early resampling seems to have no effect on Global Map Shadding, but it is having the opposite effect for layer styling, i.e. when I enable early resampling the layer is rendered as if nearest neighbour resampling is selected, even if Bilinear or cubic is selected...
Seems similar to this issue: https://github.com/qgis/QGIS/issues/40746
What is the bug or the crash?
Global map shading respects layers' resampling settings, but only if the layer is being reprojected.
See example screenshots - the layer CRS is EPSG:2105
Global map shading enabled with resampling = cubic and map CRS=EPSG:2105 - the edges should be smoothed but aren't. Global map shading disabled with resampling = nearest neighbour and map CRS=EPSG:2105 - looks as expected. Global map shading enabled with resampling = cubic and map CRS=EPSG:2193 - smoothed as expected Global map shading enabled with resampling = bilinear and map CRS=EPSG:2193 - looks as expected
Steps to reproduce the issue
Set project CRS to match the CRS of your DEM. Enable Global Map Shading Enable bilinear or cubic resampling. See that the global map shading ignores the resampling setting Disable the global map shading and see that the layer styling is resampled.
Versions
Tested in 3.30.3 and 702e370846 nightly installed just now.
Supported QGIS version
New profile
Additional context
No response