Bug report #9081
Raster calculator result is not accurate
|Affected QGIS version:||2.0.1||Regression?:||No|
|Operating System:||OSX||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||17726|
When using the raster calculator with this simple example:
@layer1 / 10
the results do not come out as expected. We can verify this by using the identify tool and clicking on a pixel e.g.
Original Layer: 844.1530151367188
Calculated layer: 84.41529846191406
In other cases the difference can be more extreme.
It appears the difference may be due to resampling during the raster calculation process. It would be good so convey to the user the fact that resampling takes place during calculation, or to have an option to prevent resampling during recalculation.