Here's the weird output, looks like min and max possible values for the data type?


Here's my inputs, all pixel values should be set to 0.


1 Answer 1


You set all values to zero and you specify nodata value as zero. So you get an empty raster, all pixels have nodata. Since there is no min and max value in the image to show in the legend, QGIS displays the limits of Float32 type, which is -/+3.40282..×1038

To solve the issue:

  • Set nodata value different than 0,0 and
  • Set pre-initialize value as 0,0:

enter image description here


enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.