A tool in some GIS software programs for performing algebraic operations on rasters.

learn more… | top users | synonyms

0
votes
0answers
13 views

Calculating water flooding with raster calculator

I have many layers so i will try and explain what all the layers are. What I want do is enter a calculation in raster calculator to calculate what areas of the map will be flooded if the water levels ...
1
vote
1answer
29 views

Addition of rasters using raster calculator

I have five classes of rivers as different rasters. and I want to add them all in a new raster file using raster calculator. But when I do this, it creates 16 types of classes, while I want am ...
0
votes
0answers
14 views

Recover failed raster calculator operation QGIS

Users can recover their raster calculator algorithms via the "results" panel in ArcMap (i.e., analogous to viewing one's "history"). Is there a similar function in QGIS? In other words, is there a ...
0
votes
1answer
18 views

How to prevent RGB composite flatten to 1 band after raster calculation

I have a series of landsat wanting to process in raster calculator, but after doing the tool it happened these output images only contain one single band. They used to be RGB 3-band images. It is on ...
1
vote
1answer
55 views

How to calculate the percentage of cells which are lower than a site in Grass GIS

In GRASS GIS: I have a shapefile with 300 hundred of sites (with height values for each point), and want to calculate the percentage or number of cells (of a given DEM) which are lower than the ...
1
vote
1answer
37 views

QGIS Zonal Stats Plugin - Python Console - compute one specific statistic

I think this is more of a syntax problem that I have here. But I am absolutely not able to figure it out. On a different Linux machine I got the following working: zoneStat = QgsZonalStatistics ...
1
vote
0answers
35 views

How do I change my “no data” values to get “true” values in raster calculator in Qgis

I have two rasters and I want to subtract the values from one of the layers. The first raster is a altitude raster and the second raster is depth values for a lake. I would like to subtract the depth ...
3
votes
1answer
28 views

QGIS Raster Calculator syntax

I have tried this several different ways and get lots of NaN. I need to specify that in my raster 'test1', I want a certain set of values to equal 1 and the rest to equal zero. For instance, I want ...
2
votes
1answer
98 views

Huge file size after averaging two rasters

After I average two raster files (singleband gray, initial size ~700MB each) through QgsRasterCalculator() with formula "Raster1@1/2 + Raster2@1/2" the size of the resulting file is 2.9GB. Is there ...
4
votes
1answer
22 views

ArcGIS merge/unite two rasters with same extent with RasterCalculator

I've a problem with the ArcGIS Raster Calculator: I have two 2-Bit Rasters with the same extent, the only data stored in it are 1-values and NoData. Now I want to combine this two Rasters: If in ...
0
votes
2answers
272 views

Issues calculating range with QGIS 2.0 raster calculator

I would like to calculate a simple range using the QGIS 2.0 Raster Calculator, but am getting strange results. I believe I am not using the correct syntax. To get all values between .003-.5, I ...
4
votes
1answer
181 views

How to compute NDSI in ArcGIS for Desktop?

How do I compute a Normalized Difference Snow Index (NDSI) in ArcGIS's Raster Calculator? I have a Landsat 8 scene (hdf4 format) that contains derived surface reflectance band-by-band. Each band is a ...
0
votes
1answer
204 views

Creating an R factor raster in RUSLE Soil Loss equation with multiple input rasters

I am attempting to obtain the rainfall erosivity "R" factor for the RUSLE Soil Loss equation using rainfall PRISM 30 year history data. I have both monthly and annual data that comes into ArcMap as ...
3
votes
1answer
29 views

Convert 0's to NoData in QGIS Raster Calculator [duplicate]

What is the easiest way to convert cells with a value of 0 to NoData in QGIS Raster Calculator?
5
votes
1answer
87 views

Sequentially distilling several raster data sets into final map based on first time pixel’s value was greater than zero?

I have 120 daily data sets that contain a value only when a threshold temperature is exceeded. If the threshold has been reached that pixel was assigned a value indicating the day it occurred (the ...
3
votes
3answers
117 views

Flow Accumulation Python or MATLAB Script

does anyone have any resources for scripting the D8 flow accumulation in Python or MATLAB after obtaining the flow direction values and filling in 'sinks' and 'flats'? I am trying to understand the ...
1
vote
1answer
51 views

Using Raster calculator in Modelbuilder ArcGis 10

I am using Modelbuilder to calculate several rasters with different parameters for each grid cell. One of the final steps is to calculate the log of one of the rasters using Raster calculator. ...
1
vote
1answer
28 views

Changing raster value based on point feature

I am working on some landslide modeling. Within ArcMap I have a raster layer, representing the area of the county I am working in, and a point layer that shows landslide locations. I reclassified ...
5
votes
1answer
602 views

Raster Calculator making incorrect calculations in ArcGIS for Desktop?

I am trying to use raster calculator (ArcMap 10.2.2.3552) to apply a poisson generalized linear model to estimate species abundances based on elevation. The outputs don't make any sense to me, and I'm ...
0
votes
2answers
24 views

Polygon to raster. How to keep same values?

I have a polygon with values 3, 6, 9, 12, 15, 18, 21, 24, 27 an 30. These are the time it takes for the firetruck to reach certain destinations. Now i want to compare these to another raster that have ...
2
votes
2answers
54 views

I have slope raster and that is categorized with slope in percentage(%) but my script not successful

I have slope raster and that is categorized with slope in percentage(%) my condition is if slope <= 1 then m = 0.2 1 < slope <= 3 then m = ...
1
vote
1answer
276 views

Using Raster Calculator expression in Python

I've posted about this problem before but I've got a few new questions. So here's the problem. I have two rasters containing bathymetry data: one containing the bathymetry of the sea floor, we'll ...
1
vote
1answer
497 views

Raster vs. Raster Scatter Plot in ArcGIS

I created two raster datasets from the same world view 2 image. One dataset is NDVI, the other is a normalized surface water index (NDSWI). I would like to create a scatter plot for a pixel by pixel ...
0
votes
2answers
212 views

Remove sections, defined by a line or polygon, from a raster in QGIS

(QGIS 2.6.0 on Windows.) I have created a raster layer of heights using the TIN interpolate function. I also have another raster layer with more accurate information on the height of particular areas ...
2
votes
3answers
49 views

Add value to entire column in attributes

Is there a way to add a value to the entire column? I don't think i can use raster calculator because it's a text i want to add, the letter "B". Here is a picture. This is what happends when i use ...
2
votes
0answers
44 views

Using attribute table values as input for raster calculation - modelbuilder and iteration

I have multiple years of daily XY point shapefiles that contains multiple attributes. I would like to choose one attribute from my XY point and perform a raster calculation with that value and apply ...
0
votes
0answers
24 views

Performing Raster Algebra using DotSpatial?

I want to perform some Raster Algebra using DotSpatial. Is there any solution for it? Or any examples? this is a class which I am developing to perform raster algabra but as you see there is some ...
3
votes
1answer
43 views

Standardising DEM raster for a MCE

I'm trying to complete a Multi-Criteria Evaluation for an MSc assessment and am in the process of standardising my factor maps. Unfortunately, my DEM layer (ASCII file) keeps changing from this: ...
1
vote
1answer
28 views

Raster calculator iteration

I have a set of rasters within a file gdb in which are of continuous values (NDVI). I am trying to build an attribute table for each raster in order to reclassify into either 1 or 2 (water or land). I ...
4
votes
2answers
74 views

how to get max and min from a raster using arcpy?

I have a land surface temperature raster file and I want the max and min of it. minLSTresult = arcpy.GetRasterProperties_management(raster_result, "MINIMUM") minLST = minLSTresult.getOutput(0) ...
3
votes
1answer
47 views

Polarity of Slope raster for use in Multi Criteria Evalution

I'm looking to use a slope raster in a MCE however i am struggling to ensure it has the correct polarity. The polarity of my other two layers is high values = good and low values = bad. The slope ...
1
vote
1answer
27 views

Using decimals in ArcGIS Raster Calculator tool?

I would like to create a new raster by using the following regression equation in the Raster Calculator tool in ArcGIS 10.3: Outputras=0,000826345+(0,000203494*"Roads_density.tif") ...
1
vote
1answer
50 views

Raster processing in ArcPy seems to “simplify”/“round” my resulting values

I'm working off a DEM and doing some raster algebra with it (real simple, add this decimal value, then divide by this value). The DEM in question is super high resolution LiDAR, that's both spatially ...
0
votes
0answers
20 views

How to iterate a raster calculator with a change in the input raster and in the values calculated? Than, how to put the results in a table?

What I do without iteration is the following: Change radiance to reflectance for band 3 with raster calculator Samething as #1 on band 4 (the values in the formula are different from #1) Calculate ...
0
votes
0answers
15 views

How to chain several conditions in SAGA raster calculator

Is there a way to use an AND statement within SAGA raster calculator expression to include several conditions in the same operation? I have 3 rasters, the statment should be: If (A = 0 and B = ...
2
votes
1answer
60 views

SAGA tools in QGIS only allow save as .sdat file?

I'm just beginning to learn how to use SAGA 2.1.2 tools within QGIS 2.12.1 on a Windows 7 64 bit computer by working through exercises in Mastering QGIS by Menke et al. ...
3
votes
1answer
77 views

Calculate Volume over sloped ground in GRASS GIS

I am trying to do some volume calculations on a DEM with GRASS GIS. However, I believe r.volume measures everything from 0. The ground underneath the pile I'm measuring is sloped. I would ...
0
votes
0answers
33 views

Raster Calculator subtraction giving wrong difference

I'm performing a pretty simple subtraction: The values of the resulting raster are correct for some pixels: But many pixels are calculated wrong: Which settings do I have to change to get ...
16
votes
1answer
558 views

Calculating Focal Statistics for Special Neighborhood?

I'm looking to calculate focal statistics for each cell of a raster, within a neighborhood of a specified criteria. Background - I have three binary rasters, each representing a single vegetation ...
2
votes
1answer
36 views

Raster Calculator to extract elevation and slope conditions in ArcGIS for Desktop?

I've got a DEM ("ASTER_Nepal.tif") and a slope ("ASTER_Slope.tif") and am trying to create a new raster for elevation values between 2000 & 7000m and between 5 & 60 degree slope. I've tried to ...
0
votes
0answers
46 views

How can I smooth a discrete raster in ArcGIS?

I started with a continuous spline raster of hotspots, classified by standard deviations from the mean. This displays as 7 classes, but since it's a continuous raster in ArcGIS 10.2, it appears nice ...
2
votes
1answer
180 views

Map algebra from files in multiple directories

I'm a rookie in python programming. I want to do map algebra for multiple rasters but these rasters are in different folders. Here's the code ive created so far: #Importing modules import arcpy from ...
1
vote
1answer
28 views

how to calculate the mean value of pixels of a raster in Grass plugin in qgis?

I am using grass plugin in qgis 2.12. I have to estimate the average value of all the pixels but don't know how to do it.
1
vote
1answer
30 views

How to combine bands from different rasters using the global mapper raster calculator?

I am wondering how to specify what raster you are getting the band from in the global mapper raster calculator? When you open it with a more then one raster open you can check the boxes to define ...
-1
votes
1answer
35 views

raster calculator (spatial analyst) tool not working in arcpy [duplicate]

I am using arcpy and while running the script it is unable to find RasterCalculator() method? Even after imporiting arpy module >>> RasterCalculator("IDSI_2002.img + ...
0
votes
1answer
23 views

Combine two rasters- only value 1 stays; zeros converted to NoData cells

I am trying to combine 2 rasters: one with values = 1 and the other with values = 0 because I need a final raster with no empty cells. When I use the Raster calculator, the resulting raster only ...
3
votes
0answers
33 views

Raster calculators in SAGA return incorrect results

Here's a sample of my dataset (one cell) with 28 different raster values, representing 28 individual Float32 rasters with identical parameters. 0.0000264434, 0.0049953502, 0.0007529828, ...
2
votes
0answers
39 views

QGIS raster calculator - crash minidump

I'm new to QGIS and using version 2.10.1-Pisa. I have two raster layers created from ASTER DEM data. I have one for slope and want to create a binary layer where only pixels between 8 and 60 degrees ...
2
votes
1answer
51 views

Conditional statement in gdal_calc with result as float, not boolean

Many examples on gis.se that refer to gdal_calc give a boolean example. example 1 example 2 If I need to calculate a conditional statement on a float: If Raster_Value >= 1024, then 1024; else ...
0
votes
1answer
45 views

Determining raster intersection using ArcGIS for Desktop?

Using Arc 10.2.2 with Spatial Analyst, I need to determine the spatial intersection of two rasters (both rasters are in the same coordinate system, and are aligned to the same snap raster). The two ...