New answers tagged raster-calculator
0
votes
Raster Calculator in Model Designer doesn't take my input number into account
Have you made sure that you have defined the individual weights as a number parameter in your model? If so, then make sure that the expression dialog for the calculation in gdalnumeric syntax looks ...
0
votes
Raster Calculator in processing scripts crashes using PyQGIS
I get a similar crash but it works when I remove the use of QgsProcessingMultiStepFeedback in the process.
4
votes
QGIS Apply Correction to Elevation Datum
Use this expression in the raster calculator: "name_of_your_dtm@1" + 2
But as Erik suggested it you shall have a look at the official tutorial where most of the solutions are already ...
0
votes
Calculate seasonal precipitation and temperature from CRU TS 4.05 in ArcGIS Pro
Often first steps to automation, without any code in ESRI software is learning to use modelbuilder. You would use an iterator to step through layers/values and use that to help extract out specific ...
0
votes
Error 000539 in ArcGIS Desktop?
A colleague and I just had a similar error with rcexe. Looking at the error, it appeared to actually be a problem with NumPy. After a lot of investigation including looking at the path that the ArcMap ...
0
votes
ArcGIS Raster Calculator Error 000539
A colleague and I just had a similar error with rcexe. Looking at the error it appeared to actually be a problem with NumPy. After a lot of investigation including looking at the path that the ArcMap ...
2
votes
gdal_calc - How to calculate where raster A is not equal to raster B?
From GDAL version >= 3.3, you can use --hideNoDatata option to ignore the NaNs in the calculation (it takes the NoData value as if it was a real value).
1
vote
Calculate multiple bands average raster in QGIS with high number of bands
You can use python to build the expression. This should work for any number of bands:
rasterlayer = QgsProject.instance().mapLayersByName('infra-red')[0] #Change infra-red to the name of your layer
...
0
votes
Rounding raster values in QGIS raster calculator?
I used floor instead of round, floor function "cut" the pixel value, if you have 2.5 and want to get 2, you have to use the floor function, in that case if you use round you will get 3.
Top 50 recent answers are included
Related Tags
raster-calculator × 1123arcgis-desktop × 428
qgis × 375
raster × 323
spatial-analyst × 253
arcmap × 103
arcpy × 78
pyqgis × 66
modelbuilder × 60
python × 57
arcgis-10.1 × 48
arcgis-10.2 × 46
arcgis-pro × 44
dem × 44
gdal × 43
error-000539 × 41
ndvi × 38
arcgis-10.0 × 35
grass × 33
map-algebra × 33
con × 33
qgis-3 × 30
arcgis-10.3 × 27
qgis-modeler × 25
saga × 25