You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BugEither a bug report, or a bug fix. Let's hope for the latter!PyQGISRelated to the PyQGIS APIRastersRelated to general raster layer handling (not specific data formats)
I tried to use QgsRasterCalculator class in PyQGIS on a simple example, but I encountered the following error:
TypeError: 'outputCrs' is an unknown keyword argument
I checked the name of this parameter here and here and it seems to be correct, but for some reason I get this error. If I remove the parameter names, the code works.
BugEither a bug report, or a bug fix. Let's hope for the latter!PyQGISRelated to the PyQGIS APIRastersRelated to general raster layer handling (not specific data formats)
What is the bug or the crash?
I tried to use
QgsRasterCalculator
class in PyQGIS on a simple example, but I encountered the following error:I checked the name of this parameter here and here and it seems to be correct, but for some reason I get this error. If I remove the parameter names, the code works.
Steps to reproduce the issue
The sample data is available for download here: https://github.com/kadyb/adg2024/blob/main/dane/DEM.tif
Versions
This applies to versions 3.40.0 and 3.34.6 on Windows 10.
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: