Quantcast
Channel: Question and Answer » qgis-2.6
Viewing all articles
Browse latest Browse all 12

Raster Calculator in QGIS returning 'nan' values

$
0
0

I am attempting to add two rasters using the QGIS raster calculator and every output ends up as ‘nan’. There were no problems with the raster calculator before trying to add these rasters, so I am stumped as to why it is not working with these rasters.

The code is:

"ForType@1" + "LandType@1"

Both rasters have the same projection and the pixel size are the same. It is a simple addition but any sort of calculation with these two rasters, whether addition or multiplication etc, ends up as no data.

Does anyone have suggestions as to why the raster calculator is not working? I am using QGIS 2.6.1, and other users have suggested updating the version to 2.10


Viewing all articles
Browse latest Browse all 12

Trending Articles