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

learn more… | top users | synonyms

2
votes
2answers
979 views

query raster in ArcGIS 10

I am using ArcGIS 10 (includes spatial and geostatistical analyst). I have a raster (GRID) with a value range of -167 to 18. I would like to query the raster and create a new one with only the values ...
2
votes
2answers
66 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 ...
2
votes
1answer
2k views

Can Compound Topographic Index (CTI) / Topographic Wetness Index (TWI) produce negative values?

I am calculating Topographic Wetness Index for a study area using SRTM DEM (90 and 30m). I've seen several versions of TWI (CTI). I have been using: TWI = ln(As +1 / tanB) where As = ...
2
votes
1answer
71 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
234 views

extend the size (area) of raster

My problem is that I would like to multiply two rasters using raster calculation tool. Both rasters have values 0 and 1, but the covered area of first raster is bigger (100 x 100 miles) then the area ...
2
votes
1answer
75 views

How could I assign point values to a raster stream segment?

I need to assign a point value in raster format to a raster stream segment, which contains the point. See bellow: The expected result is a segment, whose value is the point value. How could I?
2
votes
1answer
161 views

How to iterate GRASS region definition?

I am using GRASS r.skyview command (v.7, Windows) to determine "urban canyon effect" on pollution due to the presence of buildings. The command nicely works, unfortunately I need to process a very ...
2
votes
2answers
59 views

Calculating loss of value from a wind turbine on surrounding properties depending on distance

I have to evaluate where installing a turbine would be most efficient, depending on wind speed and price of properties surrounding each cell in a raster. The cost on value of properties is computed ...
2
votes
1answer
275 views

How to reclassify a raster (tiff) with multiple bands?

i have a raster file containing information about the windspeed average for the year. My purpose is to reclassify the 15 classes based on their rgb-composite. The color is the only information given. ...
2
votes
1answer
129 views

Measuring polyline lengths running through a raster - is this possible?

I have a reclassified raster layer with 4 values and a vector layer of polylines. I would like to discover the length of the lines running through each raster value, or the percentage of the lines ...
2
votes
1answer
168 views

Efficiently check for equal adjacent values in raster calculator

I have a raster consisting of integer values in each cell. I want to check every adjacent cell in a 3x3 grid to see if any one of the adjacent cells has a value EQUAL to the center cell, and if so, ...
2
votes
2answers
117 views

How to adjust raster size for usage in raster calculator?

I want to make a visibility analysis of planned wind turbines in my region. I have a DEM raster and a polygon describing the possible area where the wind turbines might be set up. People are ...
2
votes
2answers
440 views

Why does Raster Calculator return GRID ERROR-Unable to open the input grid: 1+FLOATC:\document…?

I'm calculating Simple Ratio (SR) from NDVI using Raster calculator in Arcgis. Here is expression I wrote in Raster calculator. SR=(1+float[NDVI_apr.tif])/(1-float[NDVI_apr.tif]) But when I evaluate ...
2
votes
2answers
860 views

How to calculate a new raster based on nodata values from original raster, in QGIS?

I'm using the raster calculator from core in QGIS and I need to generate a new tif raster file (mask) from the nodata values of another tif raster file. I tried isnull(), but no luck. Any one can ...
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?
2
votes
1answer
32 views

Adding additional parameters to image classification in ArcGIS for Desktop?

I have an RGB ortho rectified Image and I have another grid data with Elevation values. However, an image with only three bands does not give a good classification of landcover, so it is important ...
2
votes
1answer
116 views

Conditional Statements in QGIS raster calculator?

What is the equivalent statement of the following expression in the QGIS raster calculator? Con(((Abs("DEM" - "FSMin") > 120) | (Abs("DEM" - "FSMax") > 120)), 1, 0) I have no problem ...
2
votes
1answer
75 views

Raster calculator help needed

I have time-series data (rasters) from which I need to calculate the direction of change (increase, no change or decrease) for every pixel from one time-step to the next. I further need an output ...
2
votes
1answer
91 views

Raster layer calculator

In PCI Geomatic, I have two raster layer.raster1 identified like %1 and raster2 like %2. if (%1 <= 10) then %2 = 60 elseif (%1 > 10 and %1 <=50) then %2=80 elseif (%1 > 50 and %1 ...
2
votes
1answer
160 views

Change Values of Georeferenced Raster

I am using QGIS to georeference B&W images. I have now done this and would like to set the black surround of the image (as a result of the georeferencing) to transparent but this does not work as ...
2
votes
1answer
204 views

Error while using raster calculator in model builder

I am trying to use the model builder for the RUSLE Model. Well this is how the model looks like: So in the raster calculator I have a formula which also involves the rasters generated in the model. ...
2
votes
1answer
270 views

Nearest Neighbor Focal Statistics and Map Algebra

I would like to use a nearest-neighbor type analysis to iterate over a raster. The nearest neighbor analysis will give a cell value of 1 IF AND ONLY IF the cell being analyzed has a cell value larger ...
2
votes
1answer
414 views

Question about sizes of input rasters for raster calculation

To calculate any formula (conditional statements/relational operation etc) in the raster calculator in ArcGIS using two different sources of raster images, I'd like to know input rasters must be the ...
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 ...
2
votes
0answers
47 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 ...
2
votes
0answers
60 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
67 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
1answer
66 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 ...
2
votes
0answers
208 views

ArcGIS Raster Calculator VS QGIS Raster Calculator [closed]

Are there any major differences between ArcGIS Raster Calculator and QGIS Raster Calculator?
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
1answer
949 views

How to evaluate raster calculator expressions from the console?

How can I execute from the console an expression that should be used with the raster calculator? I'm searching for something like this: qgis.someRasterCalcClass.evaluate("boh@1 + boh@2", ...
1
vote
2answers
149 views

DEM mosaic: gaps

I have generated DEMs (bare earth) from Lidar data. For computational reasons, I have processed via ArcGis the lidar files in chunks, so I came up with different single DEMs. After, I used "Mosaic to ...
1
vote
2answers
789 views

Create an X,Y latitude and longitude grid from an raster

I have a satellite image (LandSat 5), I want create a raster with X,Y coordinates, this is possible in Model Builder of ArcGis 10.0? or other option. I know that the option $$YMAP ($$XMAP) not work ...
1
vote
3answers
551 views

Topography: How to get the x,y,z coordinates of highest or lowest point/pixel of a raster GIS?

Given a .tiff topographic raster image with mountains and deep sea, I am looking for the x,y,z specifics of the highest or lowest point. The x,y,z values being: altitude (z-coordinate) latitude ...
1
vote
1answer
816 views

ModelBuilder: How2 pipe output of Iterate Raster tool into Raster Calculator tool?

Re: ArcGIS v10.1 ModelBuilder Hello, THE PROBLEM: 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 ...
1
vote
2answers
38 views

Get raster expression

In Arcmap I have made a new raster with ArcToolBox -> Spatial Analyst Tools -> Map Algebra -> raster calculator. Now, months later, I have forgotten the source formula expression. How can I ...
1
vote
1answer
78 views

Need to calculate values for a cell based on surrounding landscape

I have a raster file with the urban development of a county mapped out (values: 1=urban 0=not urban). I also have a raster file with several blocks of forested land, each block of land has its own ...
1
vote
1answer
213 views

Grass r.mapcalc generates 1 cell map

I'm a GIS student and in my project I need to generate vegetation indexes. I've generated it succesfully yesterday using both python2.7 and grass gui .I'm using WinGRASS-6.5.svn-r54428-453 on Win7. ...
1
vote
1answer
493 views

Trying to run raster calculator to build an expression for ls factor

I am trying to run a raster calculator, but it failed. I believe that ArcGIS 10 does not understand when I use the variable resolution. What do I need to put in its place? I took the equation from ...
1
vote
1answer
415 views

How to add rasters of different sizes with Arcmap or Qgis raster calculators?

I've got 8 rasters all of different sizes. What is the proper syntax, for the raster calculators of either Arcmap or Qgis, that will output a raster that covers the extent of all my data not just the ...
1
vote
1answer
38 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" - ...
1
vote
1answer
41 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
68 views

ArcGIS Raster Calculator output raster has one band but cannot build attribute table?

I built a raster using the raster calculator of ArcGIS 10.1 for Desktop. The properties of the output raster ("usle_1") indicate that this raster has one band. There is no attribute table but I ...
1
vote
1answer
338 views

the min and the max in raster calculator Arcgis 10.1

Can you help me where I can find or how to calculate the minimum and maximum with raster calculator in arcgis 10.1
1
vote
1answer
49 views

How can I assign Raster2 pixel value to Raster1 where they overlay?

I want to assign Raster2 pixel value to Raster1(Bigger) where they overlay. Both of them have the same cell size. How can I accomplish this process in ArcGIS Desktop? (Like Raster Calculator ) ...
1
vote
2answers
214 views

How to change raster cell values within a polygon using QGIS GUI?

I would like to know how to change the values of raster cells which are within a polygon, leaving all cell values outside the polygon unchanged. I would like to subtract 1.5m from each raster cell ...
1
vote
1answer
151 views

Raster Calculator error

I'm trying to use the Raster Calculator inside ModelBuilder to get rid of null values, but I'm hitting a snag. I'm using the expression: ...
1
vote
1answer
133 views

PostGIS ST_MapAlgebra Assistance

I would like to perform the equivalent of the below ArcGIS raster calculator equation in PostGIS using the ST_MapAlgebra function and return it as a tif using ST_AsTIFF. Con(("Sol_gain_clipped.tif" ...
1
vote
1answer
490 views

Map Algebra - Grass GIS (r.mapcalc) merge two raster with NoData value

I have a slope raster and a road raster. The black pixels in the road raster are NoData values and the pink pixels have a value of 1. They don't cover exactly the same area. I want to create a new ...
1
vote
1answer
61 views

How to select pixel with smallest number in stack raster using Python script in ArcGIS for Desktop?

I have 6 tiff file in ArcGIS which are identical in term of geometry (same frame, same number of row and column). The pixel value of each tiff file is integer and range from 1 to 4. So if I overlay ...