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

learn more… | top users | synonyms

1
vote
2answers
365 views

SAGA, GRASS Raster values to null

I want to make the cells which values "1" to null in QGIS with Grass or Saga tools (exactly Saga).
3
votes
1answer
906 views

How to reduce all value above certain value using Raster Calculator?

I have a raster with elevations above 2000m that I want to "cut" to 1800m. I cannot quite figure out the correct string and most simple way to do this in the ArcGIS 9.3 raster calculator. I tried ...
3
votes
1answer
403 views

How to enter formula into ArcGIS Raster Calculator?

i have the following formula: L = (l/22,1)^m (l = Flow length) m is calculated like this: m = 0,5 when slope is >4 degrees m = 1,2 * sin^1/3a when slope is <4 degrees (a = slope in ...
3
votes
2answers
510 views

Scale raster in ArcGIS using raster calculator

I have a raster with values ranging from 0 to 8991130624. This raster is actually the result of a cost distance analysis. I want to scale the raster to range from 0 to 1 and take the inverse? so ...
1
vote
1answer
989 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
1answer
870 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 ...
4
votes
3answers
441 views

query raster cell values by point

I have a binary raster (0s and 1s) that I need to query given a set of point coordinates. This is easy enough to do with gdal (gdallocationinfo), but where it get's complicated is that I also need to ...
8
votes
1answer
565 views

Calculating distance from points to different class in raster

I am looking for some advice on how to calculate the distance from a point to a different class of a raster. Specifically, I have observations (points) of animal use overlaid on land cover data. For ...
0
votes
1answer
44 views

Isolate And Save Raster Features From Existing Multivalue Raster Map

I have Cyprus Corine map with 44 different types of land use. I want to run a raster calculator query or any other way to isolate the areas with codes 10 to 22 and 26 to 34, all other values 1 to 44 ...
4
votes
2answers
3k views

How to standardize raster output from 0 to 100 using raster algebra?

I am working on generating an integrated moisture index based on the following equation: IMI = (hill shade * 0.5) + (curvature * 0.15) + (flow accumulation * 0.35) Iverson et al. 1997 Another ...
1
vote
1answer
3k views

reclass, raster calculator

I'm trying to apply seperate equations for different land types. I have created a raster containing only the land type I'm interested in. I then reclassed the values to '0'. My plan was to use the ...
1
vote
3answers
2k views

QGIS Raster Calculater Syntax

I am trying to use the raster calculator in QGIS to combine a number of rasters. I want to calculate a mean, this is easy: (raster_1@1 + raster_2@1 + raster_3@1) / 3 I then want to create a max. ...
1
vote
0answers
392 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 ...
3
votes
1answer
143 views

Issue with Sextante r.map calculator and modeler

I am trying to build a model with Sextante modeler and the r.mapcalculator algorithm but when I run the model I get the error message: ‘Could not load layer: ‘….’Check sextant log to look for errors ...
1
vote
0answers
643 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 ...
3
votes
1answer
312 views

An error in raster calculator in Arcgis

I wrote and ran this formula in raster calculator in ARCGIS. But the following error gets me into trouble. Does anyone have a suggestion to overcome this? Here is the formula I wrote and the error ...
2
votes
1answer
425 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 ...
1
vote
1answer
220 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. ...
5
votes
1answer
167 views

Calc bottomline of valleys

Which way do I calculate bottomlines of valleys or even more preceise: which way do I "find" valleys (for example suggested tectonic faults). Sample below shows a height profile (profile from line) ...
1
vote
1answer
502 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 ...
2
votes
1answer
3k 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 = ...
1
vote
1answer
428 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 ...
2
votes
2answers
453 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 ...
5
votes
1answer
320 views

How to calculate a standard deviation across multiple raster layers?

I have 15 raster layers. Each one shows accumulated precipitation (rainfalls) for the month of April for the same US state during a given year. So, I cover the period from 1997 to 2012. I would like ...
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 ...
8
votes
1answer
1k views

How to make a new raster using con() script in Python?

I'm new to Python and have been trying to code a raster calculator style script. Basically, I want to convert a raster that has values 0 to -10,000 into a raster that is populated by 1s between ...
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 ...
4
votes
2answers
124 views

How to do raster conditional comparisons in .NET?

I am comparing a raster with a constant value by raster calculator. Now I want to do this in a c# code. Question Is there any process to do this kind of raster conditional comparison in .net?
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
2answers
1k 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 ...
6
votes
3answers
1k views

30,000 data points… can this be reasonably served using openlayers?

I'm trying to tackle a web GIS problem and need to figure out the best strategy. I have a map with 30,000 cells on it forming a grid for the province of Alberta. I have a list of data points for ...
2
votes
0answers
60 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 ...
5
votes
1answer
646 views

Raster processing with Python or Arc raster calculator

I have 4-band NAIP imagery that require the following processing steps: Convert to 8 bit unsigned B/W Reverse (note not inverse) the image, so that dark values appear light and light values appear ...
3
votes
1answer
281 views

how can I obtain the areas where my rasters overlap, using Qgis?

I have a bunch of raster files showing the distribution of different species of mammals, and I would like to obtain the areas where they overlap, the areas in whitch more than one species can be found ...
3
votes
2answers
877 views

Normalize raster values to 0-255

I need to normalize the values attained from a band ratio to 0-255. I'm using QGIS. How do I do this? Any ideas?
4
votes
1answer
1k views

How to reclassify in Rastercalc?

I now need to reclassify, I'm using rastercalc... but I can't get the syntax right!! I need that values >0 become 1 I found this example... eq( [relief]@1, [mask]@4, 150 ) so I tried: ( [raster A ...
1
vote
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 ...
6
votes
1answer
5k views

How to crop raster layer?

Can anyone tell me how to crop a raster layer in QGIS? I want to make contours from a section of a layer, and including the whole layer will create far more data than I need and slow down the ...
2
votes
2answers
897 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
2answers
326 views

Is it possible to attain a classified raster with several classes in just one QGIS raster calculator operation?

I'm using qgis' raster calculator and wanted to make a new raster (oraster) from the values of an input raster (iraster). something like: if iraster>2 then oraster=1; if iraster >4 then oraster=2; ...
5
votes
2answers
2k views

Using individual bands from a multi-band image in ArcGIS 10 raster calculator

I'm trying to use individual bands from a multi-band TM image (IMG file) within the raster calculator in ArcGIS 10 (SP2/3). I can add individual bands to my MXD, but raster calculator will only use ...
4
votes
2answers
2k views

How to exclude outliers from raster using ArcGIS for Desktop?

I calculated terrain curvature from a DEM. The DEM I use is interpolated from point elevation data. Generally, the DEM seems to be good, but some artifacts from interpolation exist. Those artifacts ...