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 ArticleAdding 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 ArticleConvert 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 ArticleQGIS 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 ArticleSetting 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 ArticleRaster 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 ArticleWhich 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 ArticleArcGIS 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 ArticleProblems in calculate mean band values inside polygon
My goal is: to calculate the minimum, maximum and average values ​​of a raster band within a polygon feature, without using any library, only using PyQGIS: polygon_geom = polygon.geometry() extent =...
View ArticleSpecify field of raster in Raster Calculator expression of ArcMap
In Raster Calculator I need to apply the next expression:Con("raster1%","field3")==Integer, Lookup("%raster2%","field3"),Lookup("raster1%","field3"))or more...
View ArticleTypeError: unsupported operand type(s) for -: 'str' and 'int'
I have 732 temperature rasters (366 min and 366 max temp) that I want to manipulate depending on if the max temperature was greater than a specified and constant crop category temperature.import...
View ArticleConverting 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 ArticleAssign a value to a cell based on the elevation difference with its...
QGIS newbie here. I have a DTM raster layer and a river raster layer that shows location of rivers. I would like to first check if cell X is a river. If yes, check if any of its 8 neighbouring cells is...
View ArticleCalculate percentile value of raster
I want to set null all raster values that fall below the 75th percentile value. E.g. If you classify the raster by quantile method into 4 classes I want to be left with the top 25% percentile. For the...
View ArticleIdentifying and quantifying gullies and hags from aerial imagery in QGIS
We are involved in an extensive peatland restoration project in the Shetland Islands. We provide high resolution and accurate digital surface models and orthomosaics for initial analysis and on-going...
View ArticleTerracing and data format issues when converting DEM from float32 to UInt16
I have spent quite a bit of time trying to figure this issue out; I was hoping someone on here could give some advice on what to do. I am having issues with terracing on my 3D model in Blender and I...
View ArticleUsing maximum and minimum operators in QGIS Raster Calculator
I would like to normalize a raster, using the raster calculator in QGIS 3.x, but I don't know how to use the maximum and minimum operators. I have tried the following sequence, but it does not...
View ArticleSetting raster outliers to nodata in QGIS
For further analysis, I want to exclude raster outliers (mostly single pixel values).Therefore, how can I set global raster outliers (e.g., mean +- 2*sd) to nodata value in QGIS?
View ArticleRaster calculator window without specified layers from graphical model
Several years ago I've created a graphical model (still works), where used a raster calculator algoritm. It was easy to add layers into the expression since all the layers from the model were specified...
View ArticleCalculate the mean of files generated from gdal.Translate
I created several velocity maps from .nc files through gdal.Translate. Each .nc file is organized in several bands, I am only interested in 1: velocities. gdal.Translate allows me to select only the...
View ArticleENVI band math incorrect values
I'm attempting to calculate vegetation indices in ENVI 5.2 using level-2 AVIRIS data in band math.The indices I'm working with are Vogelmann Red Edge 2, normalized difference red edge, and red edge...
View ArticleQGIS graphical modeler and raster calculator
I'm making a graphical modeler that creates me a kind of DSM, like that:I create a DEM for my extent (I have the DEM for my whole country).I have the Lidar for the height of the forest and I extract it...
View ArticleUsage of Map Algebra expressions to build Erosin and Dilation operations
PostGIS's ST_MapAlgebra function (focal operations) seems a good candidate for implementing Erosion and Dilation operations, which are like the vectorial counterpart ST_Buffer (positive and...
View ArticleGRASS 7 raster calculator "and"
I am struggling with one thing in the raster calculator in GRASS GIS 7:I want to create a raster_b from raster_a, with raster_a values between >=-0.15 and <=0.15. The raster containing values...
View ArticleExtracting enclosed raster objects in ArcGIS Pro
I am working with raster data in ArcGIS Pro and am seeking a workflow to extract raster objects enclosed by a value (see image below). I have two input rasters, both binary. I would like to use Region...
View ArticleUsing Raster Calculator Con(isnull) with ArcMap
I am using ArcMap 10.4.1 and the Raster Calculator to subtract polygons of clouds, land etc from my DEM. I use the statement:con(isnull, Cloud, DEM) and set the processing extent to environments of...
View ArticleCalculating 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 ArticleHow 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 ArticleUsing parameter instead of number for EXTENT in PyQGIS
I am new to QGIS and Python. I'm trying to automate a calculation process that I need to repeat 20 times. I need to first extract the extent of a raster and then set that as the extent of a new...
View ArticleMasking pixels in QGIS
How to mask pixels in QGIS without Raster Calculator?I will render a geotiff for forestry. Now I will mask out trees with a specific height to show only trees 2m above ground. I will get canopy heights...
View Article