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.

Remove raster values above a numerical threshold

I have a set of interpolated raster files derived from a road network. Where QNEAT3 has interpolated between the road lines to make a simple outside edge, the values given in these 'white spaces' are...

View Article


Image may be NSFW.
Clik here to view.

Calculating Population-Weighted Exposure level using QGIS

I am trying to calculate population-weighted exposure level (PWEL) of particulate matter. I have raster layer of both particulate matter and population. The equation to calculate PWEL is:Pi is...

View Article


Setting specific pixel value to null in categorical raster

I have a raster where each pixel value indicates a crop type. For example, 10 is corn, 14 is barley, and 20 is blueberries, 26 is cranberry, and so on.I'm trying to convert this into a binary raster of...

View Article

ImportError when importing QgsRasterCalculator in QGIS

I'm running QGIS 3.28.8 on Windows 10, Python 3.9.5.In the Python interpreter when I runfrom qgis.core import QgsRasterCalculatorI receive the following error:ImportError: cannot import name...

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


TIN Interpolation (the result didn't show up in Map Canvas)

I am having trouble with TIN interpolation.Input Data:DTM topography of study areaMapped Points (with phone)LatitudeLongitudeElevationThickness (topsoil & rock)I would like to create TIN to present...

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

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


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


Extracting specific landcover classes together from NLCD raster data [closed]

I have a GeoTIFF of NLCD raster data loaded into both QGIS and ArcGIS Pro (would happily take answers for either program). I want to create an additional raster of woody and herbaceous wetlands...

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

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.

ArcGIS Raster Calculator Error 000539

I am getting the error-000539: Error running expression: rcexec(). I've seen that other people have this same issue but I am not sure how to fix mine. I just want to average the values of 10 rasters,...

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


Adding a criteria to raster calculator that changes the output

I am doing a weighted site suitability analysis in raster calculator. Due to the weights assigned the site analysis shows certain areas that are certainly not suitability as having decent suitability....

View Article

Image may be NSFW.
Clik here to view.

Convert written formulae into ArcGIS Pro Python or Raster Calculator Expression

D is my Distance Raster (Dras). it is made.I need help putting the formulae below into ArcGIS Pro Python or a raster calculator expression in ArcGIS Pro. It should only run on values where Dras <...

View Article


QGIS raster truncated output or file corruption

I'm working with several large raster datasets that I want to use in the raster calculator:("Fusion_LCM_AGRO_raster@1" * 0.3) +("Streams_AGRO_raster@1" * 0.3) +("Raster_FloodRisk_AGRO@1" * 0.2)...

View Article

Setting all pixels with value

I am using QGIS.I have a DEM raster with pixel values between about 3000 and -0.0003.I need to set all pixel with a value of 0 and smaler (<=0) to "nodata" (for later raster calculations and to...

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