Bug report #18446
Can't set an exact pixel size when creating constant raster layer
|Affected QGIS version:||3.0.0||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||26334|
[copied from issue filed on Github: https://github.com/qgis/QGIS-Processing/issues/82]
I need to generate a raster layer that has an exact pixel size of 5 meters. When I grab the extents from a vector layer and set a pixel value of 5 I get an output with pixel sizes that are just slightly lower than 5. This happens even if I set the extents to be numbers divisible by 5.
Ideally there should be a checkbox or something to let me indicate whether I want to cheat on the extent or on the cell size, but at the very least I should be getting a cell size of 5 if my extents are multiples of 5, right? Have I misunderstood something?