Bug report #18748
gdal rasterize error
|Affected QGIS version:||master||Regression?:||Yes|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||26635|
when running gdal rasterize the algorithm stops with this error:
ERROR 1: Wrong value for -outsize parameter.
same layer used in qgis 2 and no problem
#1 Updated by Alexander Bruy over 2 years ago
- Operating System deleted (
- Priority changed from High to Normal
- Status changed from Open to Feedback
Not reproducible on latest master under Linux and Windows. Everything works fine with several different layers.
Looks like you does not provide all necessary parameters or set incorrect value(s)
#2 Updated by matteo ghetta over 2 years ago
I see, I messed up some configuration, sorry. What do you think to add a warning (or even set some default values) for width and height?
However it seems impossible to assign 0 as no data value in output. Even if I set 0 the output file has 0 as a normal value and it is not treated as no-data, can you confirm this?