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

How to select classes from a GeoTIFF world map and compute the area by...

I have two files:fileLUse.tif defines land cover classes in GeoTiff format (from https://www.esa-landcover-cci.org/?q=node/164)fileRegions.shp defines administrative borders and it is a shapefile (from...

View Article


Testing if two different rasters have overlapping data (not extents) before...

I am writing a toolbox script that will generate a difference surface using the raster calculator in ArcMap by subtracting a raster of interest from many other existing rasters, then outputting the...

View Article


Normal range value of New Built-up Index (NBI)

I cannot find any references about the ranges of New Built-up Index (NBI) which was proposed in this article https://ieeexplore.ieee.org/document/5567823.

View Article

Image may be NSFW.
Clik here to view.

Repeat a linestring across a farm field at 40 inch intervals to use r.report...

Hi I am a new user to QGIS.I have googled,youtubed and SE all day today. I have found answers to most of my issues. This one has me stuck. I have included an image of the project I am attempting to...

View Article

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

Image may be NSFW.
Clik here to view.

Lookup Spatial Analyst tool

I have a raster of about 3million rows and 6 columns it has an attribute table joined from a CSV (CNN_result). I want to use look up (Spatial Analyst) tool but it took forever. Are there any other way...

View Article

How to make PyQgis to return 4 raster subdivisions calculated by inequations?

I've been making in Raster Calculator, one by one, for every Return Period (2, 5, 10, 50, etc.) different sub-rasters of 4 sections of water depth, it's very tedious and I know there is a faster way to...

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

Image may be NSFW.
Clik here to view.

ArcGIS Raster Calculator Erase raster from raster

Two rastersslope (black and white grid with slope values)rasterized property (red, values do not matter)I want to erase the red raster from the slope rasterI found this...

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.

Change Value of Cell in Cost Layer (Raster) by whether it touches...

QGIS 3.36-Maidenhead: I have compiled a very large cost raster covering parts of Africa. I have applied cost values to all cells based on geographical considerations.I'd like to carry out a final...

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

Image may be NSFW.
Clik here to view.

QGIS Raster Calculater Syntax - unable to combine 2 expressions

I have a slope (in degrees) of a DEM where I'm attempting to assign various values to various bands via Raster Calculator.The individual expressions work, but when combined they do not.("slope-GDAL@1"...

View Article


Image may be NSFW.
Clik here to view.

Raster calculator giving unexpectedly large and integer results

I am trying to divide one raster ("s05") by the other ("d_05") and the resulting raster ("SdivD") is giving me some suspicious values.I am using ArcMap. The raster s05 values range from 0.0000206 to...

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


Image may be NSFW.
Clik here to view.

Wrong answers using QGIS Raster Calculator

I am carrying out a simple subtraction of 2 raster layers, both with 1 band using both the raster calculator and GDAL raster calculator tools in QGIS version 3.28.5.Both rasters are using CRS 4326.When...

View Article

Image may be NSFW.
Clik here to view.

Repeating linestring across farm field at 40 inch intervals to use r.report...

I am a new user of QGIS. I have found answers to most of my issues. This one has me stuck. I have included an image of the project I am attempting to create.My plan is to place a linestring on every...

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
Browsing all 190 articles
Browse latest View live