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

learn more… | top users | synonyms

3
votes
1answer
183 views

Calculating Topographic Exposure with Raster Calculator

I need you help trying to calculate Topographic Exposure (TOPEX) on a DEM in ArcGIS. I am trying to figure out wind exposure on a DEM with 25m cells. There is a great blog post where someone explains ...
3
votes
1answer
282 views

An error in raster calculator in Arcgis

I wrote and ran this formula in raster calculator in ARCGIS. But the following error gets me into trouble. Does anyone have a suggestion to overcome this? Here is the formula I wrote and the error ...
3
votes
1answer
103 views

Stack sat images and run operation on all

I have about 300 MODIS satellite with different acqusition dates, covering the same area. I am not used to work with so many tiles at once so I ask for advice. I am working with ArcMap10.1 What I ...
2
votes
1answer
60 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
36 views

R.Mapcalc giving only blank maps as result

No matter what function I put in the r.mapcalc in the GRASS GUI I get a blank map full of null values. I even tried DEM+0 (I can see my DEM) and this also yielded a blank map.
1
vote
1answer
120 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 ...
1
vote
1answer
168 views

Floating point calculations in QGIS

How do I manage floating point calculations in QGIS? I have carried out 3 consecutive calculations on landsat bands. I end up with 32 bit floating point rasters on which I can't carry out a 4th ...
1
vote
1answer
187 views

Layers and variables box does not exist in ArcGIS raster calculator window?

I have a problem with layers and variables box in raster calculator. The layers and variables box does not exist in the raster calculator window! So I cannot add any raster to the expression. I ...
0
votes
1answer
72 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 ...
0
votes
1answer
40 views

How I can sum 360 raster files in a folder with the Arcgis raster calculator?

In a folder I have 360 precipitation raster files and I want to sum them all to the raster calculator
0
votes
1answer
54 views

QGIS – Raster Calculator: Using flat (no data) areas of an aspect-raster in the raster calculator

I´m playing around with the Raster tools, following more or less the qgis-tutorial but using my own data. When I calculate the aspect of a DEM, flat areas are (logically) left without data. However, ...
0
votes
1answer
79 views

Cause of ArcGIS Raster Calculator Parsing error <type 'exceptions.SyntaxError'>: invalid syntax?

This is my first attempt at much code in the raster calculator of ArcMap 10.0, but I think I'm close. I have nine rasters (A-I below) and want a new raster with value = 1 where any of the rasters ...
0
votes
1answer
53 views

How do I replace cell values of a raster using values of another raster with differing extent?

I have two rasters (raster1 and raster2). The raster1 extent is smaller than raster2. I want to replace the value of raster2 pixels using raster1 pixels. How can I replace the values?
0
votes
1answer
22 views

Error 000539 - Band_# not defined

I'm trying to do an NDVI analysis of a some World View 2 imagery. It seems no matter what if I enter the term Band_# for any of the 8 bands I get the same error.
0
votes
1answer
55 views

Setting up Raster Calculater for QGIS Python Console: ImportError?

I'm trying to follow the instructions here How to evaluate raster calculator expressions from the console? to set up the python console to to use the raster calculator. I tried: from qgis.analysis ...
0
votes
1answer
43 views

Isolate And Save Raster Features From Existing Multivalue Raster Map

I have Cyprus Corine map with 44 different types of land use. I want to run a raster calculator query or any other way to isolate the areas with codes 10 to 22 and 26 to 34, all other values 1 to 44 ...
4
votes
0answers
42 views

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 ...
3
votes
0answers
29 views

Raising raster to a power gives no data values

When performing the following operation in QGIS Raster calculator: 10 ^ (("20091201_20100101_chl_modis_malvinas_ns@1" * 0.0000581)-2) I get no dada values for every cell where I should get < 1, ...
3
votes
0answers
79 views

Creating a new raster based on pixel value of original raster using raster calculator but new layer is not evident

I am trying to create a new raster based on a current raster (w001001 - NVIS) which has one paletted band, with palette values ranging from 1 to 29, with each palette/value representing a vegetation ...
2
votes
0answers
33 views

Merge Raster Layers with Raster Calculator

I am looking to merge three raster layers together, we are only allowed to use the Raster Calculator tool in Spatial Analyst, ArcToolBox. Using ArcMap 10.2
2
votes
0answers
50 views

Why do comparisons in QGIS 2.4.0 Raster Calculator return -3.40282e+38 aka no_data?

I tried to use comparisons as conditional statements in QGIS 2.4.0 raster calculator. My statement is: (a < 230) * 230 + (a >= 230) * a The expected result is raster a with all values lower ...
2
votes
0answers
59 views

How do I make a path cross the most possible classes in a raster?

I want to create a function and possibly use Arcmap tools to create something similar to Cost Path. Instead of just choosing the LCP, it must cross through the most different integers. Let's say I ...
1
vote
0answers
21 views

Raster calculation with string in modeler

In my model I have one raster file and also a string input (factor for further calculation). I tried to use the grass r.mapcalculator where I can find the raster and also the string input. I tried to ...
1
vote
0answers
11 views

Why does the composite raster pixel values not cover the full range of RGB and what does this mean for reclassification after conversion to int?

I have about 30 or so composite rasters in IMG format that I need to 1.) Preserve the date that the raster was created and 2.) Combine all of them. My workflow is: Step 1: raster calculator, ...
1
vote
0answers
26 views

Multiply Rasters with Scalar Numbers as Input in QGIS Modeler

I built a little model in the QGIS modelbuilder which uses the raster calculator with the command gt(a,threshold) I need to run the model with varying thresholds from 2 to 30 so it would be ...
1
vote
0answers
38 views

Error 000539 I am new to Raster Calculator and can not figure out what is going wrong

I am new to Arc and 10.2 but can not seem to figure out why this won't work. Executing: RasterCalculator Con(("SLOPE_SLO.tif" >= .015) & ("SLOPE_SLO.tif" <= .15,1,0)) ...
1
vote
0answers
56 views

Raster Calculator

I have a slope dataset. How do I calculate the real surface area for this slope dataset using the raster calculator. This is the example I was given: orthogonal area of a raster cell in square ...
1
vote
0answers
52 views

plug logistic regression equation into Raster Calculator when one predictor is nominal

I am conducting a study that aims at building a Logistic Regression model for land productivity quality (binary dependent variable: good, no good) using different predictors such as slope, elevation, ...
1
vote
0answers
66 views

How to produce a hazard map using slope and geology information

for my project I need to display a landscape's susceptibility to erosion. I created a slope-map out of my DEM and added the bedrock geology as a polygon-feature shapefile. Now I want to tell ArcGIS ...
1
vote
0answers
29 views

Layers and variables are not coming out in the raster calculator tool window

I have many shapefiles in the table of content but layers and variables are not coming out in the raster calculator tool window. I placed the cursor the left of the Raster Calculator window, dragged ...
1
vote
0answers
324 views

How To calculate raster land cover inside overlapping buffer zones?

I am working with a raster land cover file that consists of several land cover types (e.g. forest, buildings, grass ect.) in total there is 40 different land cover types. I have 1200 bufferzonen ...
1
vote
0answers
342 views

Raster calculator error 000539 - cannot create weak reference to 'classobj' object

I was - like many times before - trying to clip a raster with the raster calculator (raster * 1 with shapefiles as mask). Now - the following error keeps popping up: ERROR 000539: Error running ...
0
votes
0answers
14 views

Trouble with reading Leaf area index (LAI) Modis on QGIS

I am having trouble reading my Modis LAI data on QGIS. I imported my Modis hdf files and I used the QGIS raster calculator to apply the scale factor and all I get is a blank gray tile. My goal is to ...
0
votes
0answers
25 views

Problem with Raster Calculator in Model Builder

I have created a model which repeatedly uses the raster calculator. My problem is that unlike that of the other tools, the output name of the raster calculator does not change. This means that I can ...
0
votes
0answers
55 views

Arcpy raster calculation producing random no data cell in output

I've been trying to get the raster calculation below to work using python: import arcpy from arcpy import env import os from arcpy.sa import * arcpy.CheckOutExtension("spatial") KSat_mm = ...
0
votes
0answers
220 views

Help with scripts for processing raster files with the raster calculator in QGIS

I am trying to process some raster files using python scripts in Qgis 2.20, and I have been having trouble finding any documentation on using raster calculator in scripts being run in the processing ...
0
votes
0answers
56 views

Extract raster values under under each polygon buffer in qgis

In qGIS: I have raster file and >100 points. I constructed buffers polygons (vector-->geoprocessing-->buffer) around each of the points. Than I clipped (raster-->extraction-->clipper) the raster file ...
0
votes
0answers
55 views

Efficient manner to buffer streams with multiple attributes?

I need to buffer a very large, complex hydro vector layer based on different water quality designations and surrounding slope. Different water quality classifications have different buffer ...
0
votes
0answers
25 views

Cell Statistics in QGIS

Cell Statistics in ArcGIS will calculate the mean (or statistic of choice) among multiple rasters on a cell-by-call basis. Can QGIS do this? If so, how?
0
votes
0answers
37 views

How to find difference between terrain and groundwater potential map?

I want to find the difference between a terrain map and groundwater potential map to show where it is possible to apply SUDS (sustainable drainage systems) but the units makes no sense. First in ...
0
votes
0answers
385 views

ModelBuilder: iterate raster output as input for raster calculator?

I remove values (above 249 and below 49) from raster files (called Name in the example) with the raster calculator. I do this by passing the following condition to the raster calculator: Con("%Name%" ...
0
votes
0answers
32 views

How to perform a Con( ) evaluation like “If ”Inras1“ is true then set ”inras2“ to Value X ” correctly in ArcGIS?

I want to set infiltration-rates to different Landcover depending on the slope. I have a Landcover Class Greenalder and six slope- classes with different infiltration rates. e.g. greenalder in slope ...
0
votes
0answers
72 views

How to calculate specified region area with raster in ArcGIS Engine?

By using the "Image classification" tool we can classify the raster image by "supervised classification",but how to calculate their area? I mean, for example, in regard for a produced class '4', how ...
0
votes
0answers
137 views

Why does the SAGA raster calculator fail when used in a Processing model?

I have a problem with the modeler and the saga raster calculator. When I'm using the raster caculator without the modeler it works fine. When I'm using the saga raster calculator in my model I always ...
0
votes
0answers
76 views

Why does QGIS raster calculator create a raster with band values=0?

I have a slope raster (value in %) created with the DEM (Terrain models) tool. I am trying to create a new raster showing the slopes > 15%. In the Raster calculator, I used : (my_raster@1 > 15) * ...
0
votes
0answers
31 views

Create a mask for a 3 Band Raster Image with surrounding white areas

How do I create a mask in order to clip a 3 band raster image so that the surrounding white area does not display. My thinking is to use Raster Calculator to create the mask or cut all three bands on ...