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

learn more… | top users | synonyms

4
votes
1answer
34 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 ...
0
votes
1answer
32 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 ...
0
votes
1answer
93 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 ...
2
votes
0answers
36 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 ...
0
votes
1answer
132 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 ...
4
votes
1answer
1k views

Python syntax error from raster calculator in ArcGIS ModelBuilder?

I am experiencing a problem with the raster calculator in the ModelBuilder under ArcMap 10. I need to combine two layers: a drainage map (issued from a series of previous operations on a DEM) and ...
-1
votes
1answer
86 views

Calculating average NDVI

I would like to calculate average NDVI values. I have 3 values of NDVI: high:243 low:0 high:243 low:0 high:238 low:0 How can I use a a raster calculator to calculate the average valvue
-1
votes
1answer
34 views

Classify Output Raster as percentage in arcGIS

I have water supply and water demand rasters.They are both of the same cell size and spatial reference. I need the ratio of water use to water demand. Then I want to classify this output in the ...
0
votes
0answers
30 views

Raster Calculator returning nodata for overlaying cells

I used raster calculator to divide two rasters setting the environment to intersection of inputs. The output has a nodata value in a cell where these two rasters clearly intersect. Any suggestions ...
0
votes
0answers
25 views

byte swap a mosaic raster

I'm getting into trouble to byte swap a raster. I'm using two DEM rasters that I mosaic using the function "mosaic to new raster". The new raster I get is called "mosaic". The cell range then shift ...
0
votes
2answers
24 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 ...
1
vote
1answer
177 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
1answer
52 views

Modifying raster values in a zone with a math expression

I'm currently doing an SIG project with the goal of calculating groundwater volumes in chalk and silex residuals aquifers. I have point data of underground water, chalk roof, and floor elevations, as ...
1
vote
1answer
249 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 ...
0
votes
0answers
36 views

Creating a Raster of Road Distance to Point

I am using QGIS 2.6. This question is in two related parts: I'm trying to create a raster of travel time from one point to another point travelling via the road system. Each raster pixel will roughly ...
0
votes
1answer
157 views

Why is the result of a raster calculation integer when it should be decimal?

I'm trying to calculate the NDVI using raster calculator, but the result is integer instead of decimal. NDVI = (NIR - RED)/(NIR + RED) The result is normally in the range -1 to 1, but when i tried ...
1
vote
2answers
43 views

Using QgsRasterCalculator

I'm trying to make a sum of n rasters and create a new one using QgsRasterClaculator, the problem is, every time the code reaches processCalculation, it makes QGis close and create a dump file. I ...
1
vote
1answer
28 views

Only run r.neighbors if cell meets criteria

This is my first time using GRASS to work with Rasters, so please excuse my lack of knowledge on the subject. I want to run the GRASS r.neighbors function on cells that meet a specific criteria, ...
4
votes
1answer
242 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 ...
0
votes
1answer
25 views

Create elevation dependent mean values in ArcGIS RasterCalculator

I have two rasters. Raster1 is a reclassified raster for certain elevation value ranges. Raster2 is an elevation raster too but with gaps. I want to fill the gaps of Raster2 by the median of the ...
3
votes
1answer
112 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
87 views

Raster Calculator syntax

I have two rasters depicting climate in two periods and I want to compare their values. I want to create a third raster returning: Values of raster 1 are within the minimum and maximum values of ...
2
votes
1answer
20 views

How to calculate values in a 3*3 matrix using raster calculator?

How to manipulate a raster values in a 3 X 3 matrix.. using raster calculator or any other method e.g. to find out how many cells are there in a 3 X 3 matrix having cell values less than the center ...
3
votes
2answers
63 views

How do I get rid of this thin band between raster layers created from TNM?

After hitting my head against the table for many days, I'm humbly presenting myself to the QGIS community. I downloaded 4 IMG files (1/3 arc second, elevation data) from The National Map on the USGS ...
1
vote
1answer
53 views

ArcMap 10; Syntax for Minimum operator in raster calculator

I want to linear stretch my raster grid formate having column/rows 3128, 3503 with 30 meter resolution by using the following syntax in raster calculator of arcmap 10.1. ("raster" - ...
0
votes
0answers
48 views

Normalize the NDVI raster 0-255

NDVI values raster computed by using the band 3 and band 4 reflectance values b4-b3/b4+b3. The output raster is of 32bit type formate although the possible ranges that shows in statistics parameter ...
1
vote
0answers
69 views

How to Normalize or rescale the NDVI raster image

I have processed my landsat band 3 and band 4 of different years to derive NDVI values the possible values of Normalized difference vegetation index is -1.0 to +1.0. The bands were atmospherically ...
2
votes
1answer
171 views

Combining Geological Grids and extruding between them?

I have a situation where I have 3 Geological grids, each showing a different horizon + the Seabed Grid. I need to extrude between these grids in order to make the 3D polygon for the geological ...
1
vote
1answer
101 views

QGIS's raster calculator— running as a batch process?

I have a series of raster files (150 or so) that I need to multiply by a baseline raster. Unfortunately, the series of rasters have a different cell size (30mx30m aka .00027777778 degrees x ...
1
vote
1answer
221 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 ...
4
votes
0answers
101 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
59 views

Single Tree detection

I was wondering how I could extract "crown area" of single trees in a forest from a high-resolution image with only 3 band (RGB) in ArcMap. ( No NIR to use NDVI as any threshold). I need a fast ...
1
vote
1answer
61 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
38 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
1answer
33 views

Multiply raster by Numpy derived float value

So I have a python script that uses numpy to calculate the mean of a field, then I try to use that mean value in a raster multiplication as follows: na = ...
1
vote
1answer
141 views

QGIS Slope Classification Issues

I am very new to QGIS for the primary purpose of creating a slopes layer so we know where slopes are above 15% or 20% or whatever we finally decide. I have used our DEM to create a slope geotif and ...
4
votes
1answer
100 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 ...
2
votes
1answer
43 views

Adding rule to raster calculator?

IF there are one or two urban cells in the Moore neighbourhood AND there is a road running through this cell. How do I add this rule in my raster calculater?
0
votes
1answer
52 views

IF (there are three or more developed cells in the Moore Neighbourhood of a cell) THEN (the cell is developed)

Hi I need to create an expression for that principle, so far I have figured out CON ("FocalStatisticsSum" >= 3,"FocalStatisticsSum"="FocalStatisticsSum"+1) Although I pretty sure I am missing ...
3
votes
1answer
36 views

Fast editing in raster calculator — adding lots of images together

I need to add pictures together to make one raster. In one session there are about 150 - 200 images (named randomly - see syntax example) There are about 50 sessions (named randomly) Is there any ...
0
votes
0answers
30 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
39 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 ...
2
votes
0answers
72 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
1
vote
1answer
282 views

Specify a field in attribute table with raster calculator

How can I specify the attribute field to use in the raster calculator of ArcMap 10.2? In 9.x, I used the dot notation. i.e. To use the "New_Value" field, I could do the following: ...
3
votes
2answers
59 views

How to calculate the a list of rasters?

I'm writing ArcPy code in ArcGIS trying to calculate a list of rasters. I get an error message that says: TypeError: unsupported operand type(s) for -: 'unicode' and 'unicode'. Here's my ...
1
vote
1answer
64 views

How to calculate raster data in vector area?

I have two layers. One is a layer of USA ecoregions (there are 9 ecoregions). It is not raster (so it's vector?). The other layer is the National Land Use Data set (so I know where there's ...
2
votes
0answers
74 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 ...
7
votes
2answers
98 views

Rules of Nodata value?

What are the arithmetic rules that govern Nodata values? Regardless of how these null values are defined? I am using ArcMap Raster Calculator. I am thinking specifically of operations like 1*Nodata ...
2
votes
2answers
80 views

How to use OR in a CON statement, in the ArcGIS Raster Calculator?

I'm trying to compare two rasters, and create an output based on a formula like: if raster1 > 10 or raster2 < 20 then raster3 = 30 How can I specify the OR in the raster calculator's CON ...
3
votes
0answers
34 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, ...