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

learn more… | top users | synonyms

1
vote
1answer
43 views

Python error in Con function

I am trying to add two different rasters using the Con function. I am iterating the raster layer using the for loop to obtain two rasters belonging to the same species and their formats are in grid ...
0
votes
0answers
3 views

Use of OTB BandmathX

I have a couple of three-band satellite images that I want to apply an expression to and get a three-band output. The expression is of a simple form: output_pixel= (input_pixel*d^2)/cos e After ...
0
votes
0answers
20 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 ...
0
votes
0answers
68 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 ...
2
votes
1answer
45 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
28 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
203 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 ...
1
vote
1answer
247 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
0answers
745 views

Error 000539 in raster calculator in ArcMap 10 [closed]

I'm having trouble averaging 12 rasters in the raster calculator. I keep getting a 000539 error, which I assume means that the syntax in the equation is bad. The problem is I dont know whats wrong ...
1
vote
1answer
251 views

Getting Error 000539 from Raster Calculator?

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)) ...
0
votes
1answer
71 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
58 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, ...
3
votes
1answer
1k views

Why does Raster Calculator (RasterCalculator_sa) give ERROR 000539 in ArcPy?

I am getting a not executed error for a raster calculator. Here is part of the output: File "C:\projectTemp\FloodAnalysis\floodxsectionanalysis.py", line 107, in makeSeemless ...
1
vote
0answers
454 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
1answer
25 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.
1
vote
1answer
101 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 ...
1
vote
2answers
44 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 ...
5
votes
1answer
405 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
52 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?
2
votes
1answer
466 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 ...
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
38 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
25 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
37 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
1answer
1k views

using raster calculator

I have a combination method to combine two raster( raster x and y) . the method is : x+y / 1- min(|x|,|y|) my problem is about "," character .whats the "," means in the method and how can i use this ...
2
votes
2answers
62 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
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
79 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 ...
1
vote
1answer
72 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. ...
0
votes
0answers
42 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
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 ...
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
49 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 ...
0
votes
1answer
140 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 ...
1
vote
2answers
131 views

QGIS raster calculator using abs() function

Is it possible to use the Abs() function in the raster calculator in QGIS? I've tried it, but it didn't work.
1
vote
1answer
53 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 ...
4
votes
1answer
47 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, ...
0
votes
1answer
40 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
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
34 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
2answers
145 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, ...
1
vote
1answer
32 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 ...
0
votes
0answers
46 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 ...
0
votes
1answer
612 views

Raster Calculator Workaround in Arcpy for Suitabiliy Analysis

This is my first attempt at a complex stand alone python code. I am self teaching the arcpy module, well at least attempting to. I am having a great deal of difficulty getting my site suitability ...
1
vote
1answer
1k views

Piping output of Iterate Raster tool into Raster Calculator tool using ModelBuilder?

ArcGIS v10.1 ModelBuilder Using ModelBuilder and map algebra, I want to compute a ten year average grid from a stack of 10. The problem is that only 1 grid (%raster%), the last one through the ...
0
votes
2answers
753 views

How to “spatially normalize” rasters of different extents to sum values of overlapping cells

How do I add rasters together that are of different spatial extents? I have many, many features that overlap over a large area (entire east coast) and I am looking to sum them "stacked" where they ...
1
vote
0answers
25 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 ...
4
votes
3answers
224 views

How to find buffer radius around raster cell that covers a defined sum of raster cells?

I want to do a neigbourhood analysis on some raster data. I need to know how big a circle around each raster cell must be to include a certain amount of specified raster cells. Let's say that for ...