Quantcast
Channel: Active questions tagged raster-calculator - Geographic Information Systems Stack Exchange
Browsing all 52 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Union three rasters using raster calculator of ArcGIS Pro

I want to combine 3 rasters (land use, water bodies and airports) into on raster with only two values 0 and 1 where the places of land use, wetlands and airports are = 0, otherwise = 1I used raster...

View Article



Image may be NSFW.
Clik here to view.

Calculating NDVI using QGIS Python Console

I'm going to calculate NDVI using band 4 and band 3 of Landsat 5.The code I wrote:import os, reimport processingfrom osgeo import gdalinput_B4 =...

View Article

Using nested conditional statements in QGIS Raster Calculator

I'm currently working on a project in QGIS and have encountered an issue with formulating a nested conditional statement in the Raster Calculator.How do I resolve this?My goal is to perform a raster...

View Article

Creating a new raster showing values based on how many rasters overlap

Intro to GIS student here.Hopefully I can articulate this issue clearly:Currently, I have six raster layers that I am trying to create a new layer out of. I think the best way to describe the new layer...

View Article

Image may be NSFW.
Clik here to view.

QGIS Raster Calculator tool does not have a Save to Temporary File option

At 3.18.3, the Raster Calculator tool does not have a Save to Temporary File option. Clicking the Output layer ellipsis only allows saving to disk. Is there an optional way to save to a temporary file?

View Article


Image may be NSFW.
Clik here to view.

Error while using Raster Calculator to calculate NDVI in QGIS

I exported 2 raster bands of Sentinel II (band 4 and band 8) to calculate NDVI (B8-B4)/(B8+B4), these 2 rasters are in EPSG:32630 - WGS 84 / UTM zone 30N. I'm currently using QGIS 3.26.1.When I try to...

View Article

"TypeError: index 0 has type 'QgsRasterLayer' but 'QgsRasterCalculatorEntry'...

I start to write my own simple code to automatically calculate NDVI from Landsat 5.Here is my code:from PyQt5.QtGui import *from qgis.analysis import *land_3 =...

View Article

Creating land use layers

I have a land use layer which includes 36 different individual classes. Using the raster calculator I have been able to extract 1 of the different classes and make a new layer (landuse=[number of the...

View Article


Causes for different results of same raster calculation in Manifold 9 vs QGIS...

I have an RGB orthophoto from which I want to calculate the KANA index (normalised difference of R and B). I have tried out the same calculation in Manifold and in QGIS, and it results in slightly...

View Article


Image may be NSFW.
Clik here to view.

QGIS: overwrite part of a raster by another raster

I am trying to create a single raster file that divides the region of Antwerp, Belgium into 5 categories: high green, low green, agriculture, water, and build-up area. For this, I will have to combine...

View Article

QGIS raster calculator using Python console

I want to calculate sum values of many rasters (from input folder) in QGIS Python using raster calculator. When I run script, QGIS crashes:Windows fatal exception: access violationimport osfrom...

View Article

Qgis3 APIbreak : QgsFeedback instead QProgressDialog while using...

I upgraded my Qgis to 3.0.1 and I try to upgrade some of the plugins I wrote.I have a plugin which uses GDAL/rastercalculator from several raster layers to get new information.With Qgis2 api it was...

View Article

Changing pixel values using QGIS raster calculator?

How could I convert values of 32767 to 0 using raster calculator in QGIS?

View Article


Raster calculator for RUSLE (six factors)

I am using ArcGIS Desktop 10.8.I have tried many time to estimate soil loss by RUSEL, using R, K, LS, C and P factors. However raster calculator failed. The message suggest was here:Error 0005392)File...

View Article

gdal_calc to replace null values of one raster with values of another not...

I have a raster containing NULL values in which I'd like filledTo do so, I have interpolated the raster via IDW in GDAL, and then used the QGIS raster calculator to perform the following...

View Article


Error 000539 in ArcGIS Desktop?

I am using Raster Calculator in ArcGIS 10.4.1 in order to substract two raster surfaces. However, when I substracted the two surfaces an error 000539 was appeared! I tried to adjust the two surfaces in...

View Article

Image may be NSFW.
Clik here to view.

Large values while calculating on normalized difference indexes

I've encountered a problem while calculating NDDI index (NDVI-NDWI/NDVI+NDWI) in ArcGIS Pro for my bachelor's thesis. I'm working with Raster Calculator (the problem appeared in both Image Analyst...

View Article


Which output data type to choose in QGIS SAGA Raster Calculator in Batch Mode?

I have 5 years of MODIS13Q1 NDVI .tiff images for time series analysis. I want to multiply all the images with the scale factor of 0.0001 before using them. In order to process all at once I try to use...

View Article

Converting floating point raster to vector

I'm trying to convert a raster layer to vector but I'm really struggling.First it says that I have floating points rather than integers so I have I have seen you can use raster calculator to multiply...

View Article

Image may be NSFW.
Clik here to view.

Raster calculator: could not create destination file

I am trying to create a curve number distribution using a raster calculator using the code shown in 1. However, I was getting the error shown in 2. I am using QGIS 3.28.15 version to do the process.

View Article
Browsing all 52 articles
Browse latest View live


Latest Images