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

learn more… | top users | synonyms

3
votes
1answer
148 views

SAGA raster calculator, ifelse command syntax problem?

I am trying to get the saga raster calculator in QGIS to spit out all values of a raster that are inferior to 10, and make all other values zero. I think the syntax is correct but I keep getting the ...
2
votes
1answer
106 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 ...
1
vote
0answers
33 views

Multiply Rasters with Scalar Numbers as Input in QGIS Modeler

I built a little model in the QGIS modelbuilder which uses the raster calculator with the command gt(a,threshold) I need to run the model with varying thresholds from 2 to 30 so it would be ...
3
votes
1answer
108 views

Running focal statistic with iterator in ModelBuilder?

I need to extent the Value of a grid (water mirror elevation) within the nodata area until reaching a specific barrier (the limit of the watershed), in ArcGIS 10.2 for Desktop. I am using this: ...
3
votes
2answers
102 views

Use Values from Raster Statistics (e.g. sum of all cells) in Raster Calculator

I need to do calculations on raster layers which require the sum of all cells of the raster. I've used the zonal statistics tool for that but it gets a little annoying to do those extra steps (run the ...
1
vote
0answers
56 views

Error 000539 I am new to Raster Calculator and can not figure out what is going wrong

I am new to Arc and 10.2 but can not seem to figure out why this won't work. Executing: RasterCalculator Con(("SLOPE_SLO.tif" >= .015) & ("SLOPE_SLO.tif" <= .15,1,0)) ...
1
vote
0answers
60 views

Raster Calculator

I have a slope dataset. How do I calculate the real surface area for this slope dataset using the raster calculator. This is the example I was given: orthogonal area of a raster cell in square ...
0
votes
1answer
46 views

Raster Calculator Blurring Image Results

I am trying to run a NDVI analysis using raster calculator on Arg Map 10.2.1 and the results create blurry or bleeding image, almost as if the map has been dipped in water. I am using the default ...
0
votes
1answer
81 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 ...
1
vote
0answers
86 views

plug logistic regression equation into Raster Calculator when one predictor is nominal

I am conducting a study that aims at building a Logistic Regression model for land productivity quality (binary dependent variable: good, no good) using different predictors such as slope, elevation, ...
0
votes
1answer
49 views

How I can sum 360 raster files in a folder with the Arcgis raster calculator?

In a folder I have 360 precipitation raster files and I want to sum them all to the raster calculator
0
votes
1answer
71 views

QGIS – Raster Calculator: Using flat (no data) areas of an aspect-raster in the raster calculator

I´m playing around with the Raster tools, following more or less the qgis-tutorial but using my own data. When I calculate the aspect of a DEM, flat areas are (logically) left without data. However, ...
1
vote
1answer
92 views

Raster map calculation

I figured out a way to filter a raster by using the r.mapcalculator or the raster calculator. The problem is that I have to use Qgis 2.2 because some of my models doesn't work with 2.4. In 2.2 the ...
1
vote
2answers
210 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 ...
5
votes
1answer
458 views

Copy and Paste symbology in Raster?

I am trying to figure it out how can I take a preserved color from a raster I already set up before and then apply the colormap to a new raster file? Here are the details of what occurred: Before ...
1
vote
1answer
312 views

How to make polygon volume in TIN surface?

I want to measure surface volume of an area in different elevation layer. For measuring the surface volume I have to make a Polygon Volume as well. I have problem with making this polygon over the ...
0
votes
2answers
105 views

Error in which.max() : not yet implemented for large objects in R

I am going to create raster by Julian day that observed maximum value of NDVI within a single year. Actually, I want to know which julian day (or raster) has max value in each cells and get result by ...
0
votes
1answer
86 views

How to convert raster negetive pixel value to positive

I was working on ground water Level. I used raster math minus function and the Output raster grid data contains negetive cell values. ma resulting raster contains values ranges from High : 0,187477 ...
0
votes
2answers
97 views

How to create raster map by day that observed maximum NDVI from multiple raster data in R?

I have 11 NDVI raster data, representing single summer. I want to create raster by day (Julian day or name of raster) that observed maximum value. In other words, I want to know which day (which ...
1
vote
2answers
147 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
1answer
94 views

Calculating field length in certain directions (raster)

Currently I'm working on winderosion. For my purpose I like to calculate the length of agricultural fields in certain wind direction. I would like to do it for raster. To be more precise: I have ...
0
votes
1answer
95 views

QGIS raster calculator manual or help

There is plenty unknown about how to use raster calculator, for example: how to write NODATA (Null) value in expression is it possible to use within (polygonLayerName) to clip result between shown ...
1
vote
1answer
60 views

How do I replace cell values of a raster using values of another raster with differing extent?

I have two rasters (raster1 and raster2). The raster1 extent is smaller than raster2. I want to replace the value of raster2 pixels using raster1 pixels. How can I replace the values?
0
votes
0answers
62 views

Arcpy raster calculation producing random no data cell in output

I've been trying to get the raster calculation below to work using python: import arcpy from arcpy import env import os from arcpy.sa import * arcpy.CheckOutExtension("spatial") KSat_mm = ...
1
vote
2answers
219 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
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 ...
0
votes
2answers
205 views

Change detection with raster calculator

After applying the Diff operator of the raster calculator in arcgis to view changes in land use, would like to see the areas of increased and areas of decreased. This is possible using the raster ...
0
votes
1answer
92 views

How to calculate cumulative sum conditionally across raster?

I don't know if this is possible without coding, but I need to: Create a raster file that, for each value in the input raster, sums all pixel values across the entire extent that are less than or ...
0
votes
1answer
178 views

How to compare two rasters and reclass the greater value(python script)?

I am working on an assignment that requires us to reclass a raster(via python) from two rasters. We need to compare the power received at one cell(on raster1) and compare it to the same cell on raster ...
2
votes
1answer
65 views

Translating to Raster Calculator?

I am taking the Learning Spatial Analyst course, which is very good but written for Version 9. I and my students are using Version 10, so some of the syntax for Raster Calculator have changed. Can ...
-1
votes
1answer
154 views

Raster Calculator Workaround in Arcpy for Suitabiliy Analysis

This is my first attempt at a complex stand alone python code. I am self teaching the arcpy module, well at least attempting to. I am having a great deal of difficulty getting my site suitability ...
0
votes
1answer
98 views

Define a circular neighborhood for a custom raster calculator function? [closed]

I have a 1 meter resolution raster containing values from 0-3 which represent increasing levels of habitat suitability. I need to identify circular regions that have contiguous pixel values. For ...
0
votes
1answer
23 views

Error 000539 - Band_# not defined

I'm trying to do an NDVI analysis of a some World View 2 imagery. It seems no matter what if I enter the term Band_# for any of the 8 bands I get the same error.
0
votes
0answers
264 views

Help with scripts for processing raster files with the raster calculator in QGIS

I am trying to process some raster files using python scripts in Qgis 2.20, and I have been having trouble finding any documentation on using raster calculator in scripts being run in the processing ...
3
votes
1answer
171 views

Expand raster extent and set expanded values using nearest neighbor sampling

I have run a hydrodynamic model which has given me a grid of surface elevations throughout a bay. I am trying to process the results in ArcMap (or QGIS if needed). My goal is to take the current grid ...
0
votes
2answers
118 views

Find the minimum elevation pixels from an elevation raster using arcpy

I want to create a python script to find the minimum elevation pixels from an elevation raster (aster,srtm) using arcpy and arcmap 10.1. The purpose is to reclassify these pixels. I have tried but I ...
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 = ...
0
votes
1answer
92 views

How to isolate certain raster values using raster calculator?

I have a one band grayscale image. It has values 0-63 within the band. I need to isolate some of those values. Is there a way to do this in the raster calculator? QGIS 2.2//Windows 7
0
votes
0answers
13 views

map composer grid annotation in DMS format [duplicate]

I have digitized a map using CRS EPSG:4326 in QGIS. In Map Composer I set the grid. I can't get the annotation to display as DMS (degrees-minutes-seconds) rather than DD (decimal degrees) format. What ...
1
vote
0answers
69 views

How to produce a hazard map using slope and geology information

for my project I need to display a landscape's susceptibility to erosion. I created a slope-map out of my DEM and added the bedrock geology as a polygon-feature shapefile. Now I want to tell ArcGIS ...
0
votes
1answer
104 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 ...
3
votes
1answer
383 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
1answer
832 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 ...
0
votes
0answers
58 views

Efficient manner to buffer streams with multiple attributes?

I need to buffer a very large, complex hydro vector layer based on different water quality designations and surrounding slope. Different water quality classifications have different buffer ...
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
0answers
29 views

Layers and variables are not coming out in the raster calculator tool window

I have many shapefiles in the table of content but layers and variables are not coming out in the raster calculator tool window. I placed the cursor the left of the Raster Calculator window, dragged ...
1
vote
0answers
371 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 ...
1
vote
3answers
547 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 ...
0
votes
0answers
59 views

Extract raster values under under each polygon buffer in qgis

In qGIS: I have raster file and >100 points. I constructed buffers polygons (vector-->geoprocessing-->buffer) around each of the points. Than I clipped (raster-->extraction-->clipper) the raster file ...
1
vote
2answers
784 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 ...