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

learn more… | top users | synonyms

1
vote
1answer
986 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", ...
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 ...
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
2answers
820 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
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. ...
0
votes
1answer
111 views

How to measure Fracture in area using ArcGIS Cut and Fill?

I want to measure fracture in an area.I know I have to use cut and fill tool. But I wonder how to give input for this tool? it has Input before raster surface and Input after raster surface ! what ...
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 ...
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 ...
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 ...
2
votes
1answer
170 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
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
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 ...
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 ...
4
votes
2answers
160 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 ...
3
votes
0answers
60 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 ...
3
votes
1answer
466 views

How to exclude some parts of raster classes based on size of area?

I have a raster file with 5 classifications. I've calculated area for all of the classes via Zonal geometry, Arcmap 10. Now, I want to exclude patches which are smaller than 100 sq. km. and ...
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 ...
3
votes
1answer
310 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 ...
3
votes
2answers
876 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?
2
votes
1answer
172 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, ...
1
vote
2answers
261 views

Replacing raster values in one raster with another raster in QGIS … how to?

I have a raster (DEM) and want to replace a few cell's values with the values from another raster in QGIS. I would have done this with the "over" tool in the raster calculator in ArcGIS. Specifics: ...
1
vote
1answer
567 views

Rasterize vector layers with different extents into identical raster grids with QGIS

I am working on a quite simple spatial potential analysis using QGIS. I have some ArcGIS knowledge, but I am new to QGIS. My task is to identify the functional inner city of a region based on ...
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 ...
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 ...