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

learn more… | top users | synonyms

0
votes
0answers
12 views

qgis raster calculator unexpected type long

I am trying to do a very simple multiplication of a raster using the QGIS raster calculator but repeatedly receive the following error: Traceback (most recent call last): File ...
2
votes
1answer
25 views

How to use the math tool (“times”) in ArcGIS modelbuilder to multiply two raster sets while using an iterator?

I have two sets of rasters (in the same gdb), representing "loss" and "forestmask". I would like to multiply each forestmask raster (value 1 = forest) with its corresponding loss raster (value ...
0
votes
2answers
26 views

Combine multiple binary rasters to a single raster

I have 5 different species richness maps which I am trying to join in order to show one cohesive map. Each species raster layer has values of 1 and 0; 1 if the species lives there and 0 if the species ...
1
vote
0answers
21 views

Where to find QGIS geoprocessing results?

Is there a way to access in QGIS 2.6.1 something like the Geoprocessing Results window found in ArcGIS? The History and Log window in QGIS appears to show the geoprocessing results from SAGA, OTB ...
0
votes
1answer
56 views

Merging rasters which overlap using ArcGIS for Desktop?

I need to merge two rasters which overlap, both indicate distance values. I need the output of the merge to result in the shorter/lower distance value. I am using ArcGIS 10.1. I hope it is more ...
0
votes
1answer
50 views

Fixing Raster Calculator Error 000539 ImportError: No module named numpy? [duplicate]

I've created 4 hillshades for a particular area to represent the 4 seasons in a year. The equation I now need to use to determine solar insulation is 1000*hillshade/255 in raster calculator. However, ...
1
vote
1answer
24 views

I want to compare multiple raster layers against each other to identify changes in pixel values over time

I am using LAI values to assess vegetation growth over large areas. I want to be able to identify areas that are doing well and areas that are decreasing based on the changes in pixel values. Ideally ...
0
votes
1answer
57 views

ArcGIS Raster Calculator error 000539 ImportError: No module named numpy?

I am running ArcGIS 10.2.1 on Win7 64bit. I have finished doing an NDVI, and after defining a vegetation presence threshold at 0.05, opened the Raster Calculator (via Map Algebra in the Arc Toolbox) ...
0
votes
1answer
32 views

Conditional calculation - QGIS Raster Calculator or GRASS r.mapcalculator

Is it possible in QGIS either directly or via plugins to do a raster calculation including an if statement? e.g., if raster1 > 0.3, then raster 1 * raster 2, else raster1 x raster3...something like ...
0
votes
0answers
24 views

QGIS raster calculator wrong output

I am trying to create a mask from a DEM (SRTM tile) using raster calculator in QGIS. I have performed the same operation in ver 2.6 with no problem but in the current version the output is incorrect. ...
0
votes
0answers
36 views

Recalculating NDVI from DN with 19 1 channel NOAA Satellite images?

I am working with 19 satellite images (annual mean between 1982-2000) from the NOAA RS. I am supposed to recalculate the DN to NDVI. I know the formula of NDVI = NIR - RED / NIR + RED. However, ...
2
votes
2answers
60 views

Raster calculator - addition

Help!!! What am I doing wrong? I have generated two rasters from vector layers. They cover the same extent and have the same projection (Irish Transverse Mercator) and cell size (5m x 5m). I have ...
0
votes
0answers
21 views

Computing View Distance in One Direction from Point on Elevation Raster in PostGIS?

I'm a software developer just getting into GIS, so please forgive me if I don't use proper lingo, or if I use proper lingo incorrectly! I have a raster of elevation data. For a given point in the ...
0
votes
0answers
40 views

apply gdal to calculate raster that is already in qgis raster calculator

I am using the following code in qgis to calculate some raster.It is not giving the correct result as it is in arcpy.I want to apply same in gdal.Can anyone help me how to use the gdal api.Please give ...
0
votes
1answer
8 views

Implementing GLMMs in ArcGIS

I am looking to create a predictive model in ArcGIS. I have done this previously with glm with poisson distribution and found it relatively straightforward in raster calculator e.g. exp(intercept + ...
2
votes
1answer
18 views

Combining several raster files generated from polylines

Maybe I'm just missing the point somewhere... I'm working on a path distance analysis, specifiying the cost layer. For this I have built a model, where I have roads and trails, both polylines, that I ...
0
votes
2answers
44 views

Combine overlapping rasters and include cells with no data

I'd like to combine about a dozen rasters into one raster that contains the "summed" cell values where overlaps occur. In doing so, I need to be able to retain cells that either have no data, or that ...
1
vote
1answer
51 views

Qgis raster calculator not giving output

I want to calculate some result using QgisRasterCalculator and using the code mentioned below.Problem is i am not getting any output raster also if i use this formula in raster calculator it gives ...
1
vote
1answer
91 views

ArcGIS Raster Calculator fails with Error 000539

I have been using Raster Calculator in ArcMap 10.2, today it started returning error 000539 for all actions. Previously it had worked fine. I have not made any change ot my ArcGIS, Python, or Windows ...
0
votes
1answer
37 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 ...
1
vote
1answer
71 views

QGIS SAGA Raster Calculator

I am using SAGA --> Grid Calculus --> Raster Calculator on QGIS version 2.6. The formula I am using is: ifelse(gt(a,0), (a), b) where a is my layer with values in a greater extent than that of b. ...
1
vote
0answers
17 views

SAGA Raster Calculator, ifelse doesn't return specified value exactly

First time caller, long time listener.... I am using the SAGA Raster Calculator in QGIS 2.6 to change NaN values to zero and that part is working great, however the specified 'if' value is being ...
2
votes
1answer
32 views

Create Raster Surface from Points and Equations in ArcGIS

I want to use point data to create a raster surface which distributes the values over space, as defined by an equation, and NOT by interpolating. I have an equation to describe how the characteristic ...
0
votes
0answers
43 views

Stream buffer and reclassification

![euclidean distance and the layout highlighted(but they are two different layers)][2]I have this task to perform for hydrology analysis as presented below: DETERMINATION OF STREAM NETWORK AND ...
1
vote
1answer
22 views

Raster layer - changing values in raster cells

I have a lot of cells in a raster layer (GeoTIFF) with a -9999 value in it. I would like to update that values to 0. I mean, in vectorial layers would be something like: CASE WHEN band1=-9999 THEN 0 ...
1
vote
1answer
30 views

QGIS Raster Calculator, joining two raster

In QGIS raster calculator I do: Plus (+) And I get: The red circle in the middle is like cut in the result, QGIS it's not adding every pixel on each raster, it makes a kind of ...
1
vote
2answers
43 views

How to automate conversion of raster NoData values?

I am doing the work of change all null pixels to a value of -1 in the raster file X with raster calculator by using following syntax: Con(IsNull("X"),-1,"X") However, I need to do the same work on ...
1
vote
0answers
23 views

How to calculate the Vertical Distance to Channel Network in ArcGis?

In Saga there is the tool "Vertical Distance to Channel Network". Is there a way to produce the same data in ArcGIs? With con("flowacc" > xx, 1) I was able to create the Channel Network. I am ...
1
vote
1answer
25 views

if condition is false but output is true . what is the exact expression of greater than to bands value ('mjune@1'> 99.6:)

from qgis.core import * from qgis.gui import * from qgis.analysis import QgsRasterCalculator, QgsRasterCalculatorEntry from math import * from PyQt4.QtCore import QFileInfo import os from osgeo ...
1
vote
1answer
101 views

What will happen if we subtract two raster with different cell size using Raster Calculator?

I want to subtract a topography raster with a depth raster. The problem is the two rasters have different cell size. The topography raster have a square cell size of 5, 5 while the depth raster have a ...
0
votes
0answers
89 views

QGIS 2.4; How to convert float raster to integer raster

I am using Normalize difference vegetation index (NDVI) derived from the landsat satellite band 3 and band 4 that have float values ranges from -1.0 to 1.0. I want to see the attribute table that is ...
3
votes
2answers
81 views

Calculating average raster grid values perpendicular to a barrier and transferring values to adjacent cells

I was hoping I could get a little help for 2 questions dealing with raster datasets. I have access to ArcMap 10.2 and ArcView 3 to do this. Here is what I am trying to do: 1) I need to calculate an ...
1
vote
1answer
60 views

How to sum 10 raster bands instead of 9 from code?

I want to sum 10 raster bands but the problem is that the following code will only work for summing 9 bands, which means the output image consists of 9 bands. from qgis.core import * from qgis.gui ...
0
votes
1answer
73 views

Raster Calculator with conditional arguments?

I am trying to create a binary raster using the Raster Calculator in ArcGIS 10.2. I have a raster with ~20 different values, but I'm only interested in cells where the value = 10. I've been using the ...
1
vote
0answers
44 views

Assigning score to raster based on cell overlap with other raster and field value

I have a set of rasters that I've assigned scores to individually (scored based predominantly on values of other fields). The scoring scale is the same for all rasters, but the factors that determine ...
0
votes
0answers
31 views

How can i perform area calculations in a raster file?

I would like to know if is possible and how can i calculate all areas or parts of it in one raster? Can i do it using the raster calculator? All help is appreciated, Best regards
1
vote
1answer
82 views

weighting and combining data sets in Raster Calculator

I`m having problems using Raster Calculator to create a final cost raster. I have to add 7 raster data sets together and multiply each of them with the correct weight. The resulting raster is ...
1
vote
1answer
31 views

If statement using QgsRasterCalculator

So in the sequence of my previous question (Can't use Raster Calculator with two different rasters), I am stuck again in my project. With my source rasters, I created 3 different outputs using ...
1
vote
3answers
70 views

Raster calculator to create single raster with 4 values from two binary rasters

I have two binary rasters showing habitat suitability (0 = unsuitable, 1 = suitable) under current and future climate scenarios. I am trying to create a raster showing: 0 = cells that are not ...
0
votes
1answer
42 views

Animating alterations to DEM based on function using ArcGIS for Desktop?

I've generated a function that alters height values of a DEM based on certain criteria. What I'm looking at doing now is animating this in ArcScene. Is there a way, in ArcGIS, for each frame to be the ...
1
vote
3answers
118 views

Can't use Raster Calculator with two different rasters

So, I have several maps like this one: And with the proximity tool and a coastline shapefile I made this output, representing the distance to shoreline: Now, I want to combine both using the ...
1
vote
1answer
32 views

Error summing 2 different rasters?

I was trying to sum two different rasters and the final outcome is an error (image attached below)? The main goal is to sum the values of each pixel in those rasters (both raster files have the same ...
1
vote
1answer
111 views

Exclude Raster Cells with Value of Zero in ArcGIS 10.2 Raster Calculator Expression

I need to perform a simple calculation in ArcGIS 10.1 Raster Calculator. I am using a raster layer that contains many cells that have a value of zero. I need to exclude these cells in the expression ...
0
votes
2answers
76 views

changing pixel values using raster calculator Qgis

How could I convert a value of 32767 to a 0 using raster calculator in QGIS?
0
votes
1answer
17 views

Rastercalc.py and Rastercalcengine.py

Is there any examples on how to use the rastercalc.py or rastercalcengine.py? And what are the purpose of these python module? Are these modules the same with gdal utilities which can be run in ...
3
votes
1answer
133 views

How to subtract out the slope (in general) of a DEM?

I'm searching for a solution process to subtract out the slope of a DEM like this: I have a high resolution DEM and want to reconstruct historical/old/not active parts of a river. The problem is ...
3
votes
2answers
129 views

Querying slope data using raster calculator: why are all results true?

I am using ArcGIS 10.2.2. From a DEM, I have created a new raster showing slope using the slope tool. The color scheme was automatically classified into 9 tiers. What I want to do is query this raster ...
0
votes
1answer
117 views

How to round up/down an pixel value of a raster to a pixel value with 2 decimal places?

I have a raster (DTM) with floating points as pixel value. Now i want to round up/down the pixel values (to its next nearest value) to 2 decimal places. I use ArcGIS (with extensions) and tried the ...
4
votes
1answer
59 views

Iterate through rasters in subfolders using Model Builder

I have a directory folder of precipitation data; within this folder are subfolders for years 1901-2014. In each of these subfolders are 12 .asc grid files; each file represents a month of the year ...
2
votes
1answer
76 views

Using iterator in ModelBuilder for groups of rasters

I'm trying to do some raster calculations on Landsat imagery in ModelBuilder. I'm calculating basic indices using Raster Calculator followed by Zonal Statistics. The resulting tables are merged ...