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

learn more… | top users | synonyms

0
votes
0answers
8 views

How to raster clip in outside in ArcMap?

How to raster clip in ArcMap? But I need 1 raster in outside area. Because 2 raster map. Example: Ras1=Temperature.tif Ras2=Error map.tif Clip command input raster=Ras1 Output Extent= ...
1
vote
3answers
36 views

Make all pixel in raster have the same value

I have a raster file with two categories: category 12 (total count=350) and category 14 (total county = 500). The attribute table looks like this: rowid Value Count 0 12 350 1 14 ...
1
vote
2answers
70 views

NDVI from Landsat8 LandsatLook images

I have downloaded landsat image from this site and now Im wondering if i can get NDVI index from it. In raster calculator I have only 3 ranges, shouldnt be four? Or am I doing something ...
1
vote
1answer
19 views

Mod function in GRASS GIS

What is the equal of ArcGIS Raster calculator "Mod" function (Finds the remainder of the first raster when divided by the second raster on a cell-by-cell basis.) in r. mapcalc in GRASS GIS?
1
vote
0answers
12 views

Substract 2 rasters with Raster Calculator in ArcObjects (VB.NET)

I'm having a hard time substracting 2 raster with ArcObjects sdk 10.1. I keep getting a nullreference exception at the gp.execute() method, but I can't figure out where the problem is, I recall ...
3
votes
0answers
38 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 ...
1
vote
0answers
27 views

Generating a predictive map with standardized variables

I have a model from which I am attempting to create a predictive map (in GIS, but I'm aware of some options in R). The response values are constrained to [0,1] using an offset term in the model (see ...
0
votes
0answers
19 views

Preconditions for subtracting two rasters in arcmap

I have two precipitation rasters, each with a different raster cell size 4.1 x 4.1 km, 4.6 x 4.6 km). The two rasters have the same geographic coordinate system, but different projections. I would ...
1
vote
0answers
35 views

When subtracting two raster with different cell sizes using raster math, what value is used for smaller cells?

After reading the answer to a similar question (What will happen if we subtract two raster with different cell size using Raster Calculator?), I am still left with a question. When the raster with ...
0
votes
2answers
43 views

To select the range of values using Raster calculator in QGIS

I am working on a project where, I need to give ratings for the range of values. I have the following ratings index ratings 0 to 4 4 5 to 8 3 9 to 11 2 12 to 15 1 I am ...
1
vote
0answers
24 views

Raster Calculator Error 000539: Error running expression: rcexec()

I am using: ArcGIS 10.2 for Desktop Version: 10.2.0.3348 My assignment requires the use of Raster Calculator to run the following calculation "AccessRaster" == 0 & "Slope" >= 2 & "Slope" ...
0
votes
0answers
33 views

Calculating where the Z values of two rasters intersect

I have several raster layers which are depth horizons, one of these horizons cross cuts the others and I would like to calculate the line along which this occurs. i.e. the line along which the Z value ...
0
votes
0answers
33 views

Automating Raster Calculator [duplicate]

I am seeing mixed answers on other posts so I thought I would ask here. Is there a way to automate the raster calculator? I am trying to create a series of inundation maps at fine increments. It ...
-2
votes
0answers
5 views

assign name to the resultant terrain when appling raster calculator through arcpy-window [duplicate]

Question of python in ArcGIS: I can not assign a name to the resultant terrain, thus I can not save the result. I'm new to arcpy. By a piece of script using SetNull() in Raster Calculator, I want to ...
0
votes
0answers
60 views

Syntax Raster Calculator

I have never worked with the raster calculator before and I can't solve my problem. There are two raster datasets. One contains roads ( "closed", "in use", "under construction") and the other dataset ...
0
votes
0answers
25 views

strange raster calculator behavior in QGIS

I used to work with qgis 2.8.1 in Lubuntu and in windows7. Each time I try to multiplicate a map for a number comprise between 0 and 1 (i.e. 0.1) I get a good results on windows OS, but I get a map ...
2
votes
0answers
23 views

Does gdal_calc only support 26 input raster files at a time?

In gdal_calc.py, input files are specified with letters A-Z. Here are two files, input.tif and input2.tif, being averaged into result.tif: gdal_calc.py -A input.tif -B input2.tif ...
0
votes
0answers
31 views

Negative reflectance values from raster calculator computation of GeoEye-1 image

I tried to convert DN values of a pansharpened 2010 GeoEye-1 image into radiance then reflectance in QGIS using raster calculator with the following formulas: (1) L= gain* DN + bias; (2) p = pi* L* ...
1
vote
0answers
62 views

Preprocessing GeoEye-1 in GRASS iatcorr

I am trying to do a study on land use change using three high-res images of an area from three sources (Quickbird, GeoEye-1, WV-3). I have managed to calibrate the Quickbird data using QGIS raster ...
3
votes
1answer
69 views

How to center continuous raster layer by subtracting mean and dividing by standard deviation using QGIS raster calculator?

I'm trying to extrapolate a spatial model to a map in QGIS using the raster calculator. The model predicts the value of a pixel given the environmental conditions at this location (e.g. elevation, ...
0
votes
0answers
27 views

Using Esri grid format (*.adf) for raster calculation in QGIS?

I got problem with the ADF raster file. In fact I have a land use map in ADF file and I am trying to perform some raster calculation(from raster calculator) but its not working.I have also changed ...
0
votes
0answers
69 views

QGIS Raster Calculator giving a NaN output

This is my first time using QGIS and I am trying to use it to generate NDVI maps from data captured by my UAV. However when I apply the NDVI formula in the raster calculator using my NIRGB image the ...
0
votes
0answers
43 views

Remove no-data values from a raster using raster calculator

Can someone please tell me what the formula is to remove no data values from a raster in QGIS? I have a large DEM .tif file and need to remove the no data values. Is it better to use SAGA to perform ...
0
votes
0answers
55 views

Problem filling raster “gaps” (No-Data cells) by means of different raster

Let's assume I have two (or more) rasters with different resolutions which describe the same area. I would like to combine them - fill "gaps" - use value from the second raster when value in the first ...
3
votes
1answer
44 views

How to use the con statement in raster calculator to include a raster as a condition in an existing raster

So, I'm busy doing an assignment where we have to use a Weighted overlay to generate a raster of suitable places to plant crops. I've put all the factors in the weighted overlay and generated my ...
0
votes
0answers
36 views

How do you use the Raster Calculator in ArcGIS to combine rasters using the Con statement

So, I'm busy doing an assignment where we have to use a Weighted overlay to generate a raster of suitable places to plant crops. I've put all the factors in the weighted overlay and generated my ...
0
votes
0answers
45 views

ArcGIS Raster Calculator wont work in main model

I've created a Submodel in ArcGIS, which stretches my rasterdata to new values. The strange thing is, that the model works, if I run it itself - as soon as i implement it in the main model, I get ...
0
votes
0answers
30 views

How to set floating point raster values to NoData when raster does not have valid statistics

I have a raster with some values of 99999 that I want to set to NoData in Arc 10.2.2. I've tried using the SetNull dialogue box, the SetNull arcpy function, and the Raster Calculator dialogue box as ...
0
votes
0answers
69 views

Raster Calculator Addition - missing output. ArcMap 10.2.2

I'm currently undertaking multi-criteria analysis and have 5 raster inputs which I would like to add. I have done this before on a previous project with no issues. When I add the 5 layers, only 4 are ...
1
vote
2answers
39 views

gdal_calc : fails with value 0?

I working to invert values of a one-band tif files (download sample). If i use 254 it works: $ gdal_calc.py -A ./shadedrelief.tmp.tif --outfile=whited.tmp.tif --calc="254*(A>180)" 0 .. 10 .. ...
0
votes
0answers
29 views

How to extract the raster files from .prj?

I am interested in using Raster Calculator tool for which i need the desired raster files. But i came across a problem i.e. when i converted my vector files to raster and saved them they were saved ...
0
votes
1answer
12 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 ...
1
vote
1answer
53 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
30 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
64 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 ...
2
votes
2answers
57 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
28 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
0answers
78 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
112 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
44 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
154 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
75 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
38 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
47 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
90 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
27 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
57 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
11 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
21 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
71 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 ...