Bug report #7166
raster resampling does not work when reprojection is on.
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||16219|
Happens even if the raster is not actually reprojected, is just enough to have OTFR on. Tested on QGIS master.
As a new feature not working as should be, I tag this as blocker.
#2 Updated by Radim Blazek over 9 years ago
- Status changed from Open to Feedback
Works for me. Both if reprojection is on and raster is not reprojected and if raster is reprojected.
Note that resampling is done before reprojection. If source and target CRS are very different, it may happen that resampling effect is lost because neighbour pixel in target are not neighbour in source. I would call this feature, at least for now (2.0).
#4 Updated by Radim Blazek over 9 years ago
There were some bugs in resampler. If oversampling was 1, it was not doing resampling and returning smaller block (by 1 row,col) than requested. That could result in completely distorted raster and zoomed in resampler was never used with reprojection because reprojector limits resolution exactly to raster resolution. It should be fixed in 36bf93c.