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

Image may be NSFW.
Clik here to view.

QGIS Raster Calculator to fill zero values

I have a DSM in GeoTIFF format which has a section of 0 values (the black area in the pic below).Ideally, I'd like to use the raster calculator to fill that section of 0 values with values which would...

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


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

"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

Image may be NSFW.
Clik here to view.

Give non-overlapping parts of 2 rasters a value 0 (QGIS)

Is there a way in QGIS to give non-overlapping parts of 2 rasters a value of 0 in the new raster file? I would like the data gaps in the velocity file (so where Ice mask is displayed on the chart) to...

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

Merge two overlapping rasters and only take values from one raster in the...

I have two raster files A and B which overlap in certain areas. These rasters should be merged to one while taking the exact values of raster A, and hence overriding/replacing the values from raster B...

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


Large raster calculations in PyQGIS

I am looking more for general advice since the code I would have to post here would be rather long.In a nutshell I create cost rasters from starting points along a street network (grass7:r.cost),...

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

Finding out NDVI, LST, NDSI, etc after mosaic multi tiles of Landsat

When there is one Landsat image tile it's easy to find NDVI or something else because you have specific bands.My study area lies in 9 tiles so, after mosaicking all these tiles, how do I use the raster...

View Article

Image may be NSFW.
Clik here to view.

Raster calculation on 2 rasters with different size and resolution

I've got 2 raster files with different resolution and size. I want to make some calculations between the 2 rasters.I have already tried adjusting both grids to the same size and resolution (export of...

View Article

Image may be NSFW.
Clik here to view.

Large raster calculations in PyQGIS

My workflow in a nutshell: I create cost rasters from starting points along a street network (grass7:r.cost), reclassify them according to their distance values (gdal:rastercalculator) and would like...

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

Getting message Raster calculator: Could not create destination file after...

After trying to do some calculations in Raster Calculation QGIS decided to act weird. After trying to fix it, QGIS crashed and some files that were unsaved disappeared. Started up QGIS again and tried...

View Article


Image may be NSFW.
Clik here to view.

Large in-memory raster calculations in PyQGIS

My workflow in a nutshell: I create cost rasters from starting points along a street network (grass7:r.cost), reclassify them according to their distance values (gdal:rastercalculator) and would like...

View Article

Raster Calculator in processing scripts crashes using PyQGIS

I am currently writing a processing script for QGIS that goes as follows:Takes in a digital elevation model (DEM) tiff file, a shapefile mask of the study area, and a slope cutoff value in percentClip...

View Article


Image may be NSFW.
Clik here to view.

Creating new raster using raster calculator giving odd negative values

I am trying to create a new raster using the raster calculator to select particular values. In this instance I have a raster with values ranging from -0.4276 to 0.829624. Using the raster calculator I...

View Article

Image may be NSFW.
Clik here to view.

Raster Calculator in QGIS 3.40 results into two satellite images side by side

I am currently working on two Sentinel-2 images. I want to use the downloaded images to calculate the NDBI.Initially, I mosaicked the Bands 8 (NIR) and 11 (SWIR) of the two different Sentinel-2 images...

View Article

Quick way to reclassify raster into positive, negative, and zero classes

I have quite a few rasters I want to reclassify into three classes (positive, zero, and negative). I'm aware of the reclassify tool, but just wondering what the quickest way is to reclassify them. They...

View Article
Browsing all 191 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>