qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.43k stars 2.98k forks source link

Raster Calculator not working 3.34.10 #58791

Open Pippo-90 opened 2 weeks ago

Pippo-90 commented 2 weeks ago

What is the bug or the crash?

Starting from today I am experiencing a series of problems with the raster calculator, even for the simplier task. The final output has wrong values, geometry and geolocalization. This is how it looks now: Screenshot 2024-09-18 192401

This is how it should look/be

Screenshot 2024-09-18 192913

Steps to reproduce the issue

  1. Go to "raster calculator" under the toolbar
  2. write the formula to calculate the Top of Atmosphere radiance (TOA): 0.0003345 * Band 10 +0.10000 -0.29
  3. Either click or not to "Use Selected Layer Extent" --> it gives problem in both cases
  4. Save output layer as "TOA"

Versions

3.34.10

Supported QGIS version

New profile

Additional context

No response

DelazJ commented 2 weeks ago

@Pippo-90 it may help to share your dataset, so that people can reproduce the error.

agiudiceandrea commented 1 week ago

@Pippo-90, you reported that the issue occurs "starting from today": have you update to a new version or installed a different version of QGIS or have you installed / uninstalled / updated any external plugin, or have you made other changes to your QGIS installation configuration, or have you changed the tool (there are various raster calculator tools, which one have you used exactly?) or the parameters or the input layer used?

Moreover, other than providing a sample layer and exact parameters and detailed steps in order to replicate the issue, as requested in the previous comment, please try if the issue does occur also using a new QGIS user profile and please provide the QGIS full version info ("In the QGIS Help menu -> About, click in the table, Ctrl+A and then Ctrl+C. Finally paste here. Do not make a screenshot.")