Arcgris Pro How To Use Rasher Calculator







ArcGIS Pro Raster Calculator Simulator & Guide


ArcGIS Pro Raster Calculator Simulator

Simulate Map Algebra expressions and weighted overlay results before running them in your GIS software.



Select the type of raster math to simulate.


Example: Slope value or Suitability score (0-100).
Please enter a valid numeric pixel value.


Factor to multiply Layer 1 by (e.g., 0.6 for 60%).


Example: Elevation or Land Use code.
Please enter a valid numeric pixel value.


Factor to multiply Layer 2 by (e.g., 0.4 for 40%).

Resulting Pixel Value
59.00
The value derived from the Map Algebra expression.

Simulated Syntax:

(“Raster1” * 0.6) + (“Raster2” * 0.4)

Layer 1 Contribution
27.00

Layer 2 Contribution
32.00

Total Weight
1.0

Calculation Breakdown


Component Input Value Multiplier/Weight Subtotal

Visual Contribution Chart


What is the ArcGIS Pro Raster Calculator?

The ArcGIS Pro Raster Calculator is a powerful spatial analysis tool that allows you to create and execute Map Algebra expressions that output new raster layers. Commonly (and mistakenly) searched as the “rasher calculator,” this tool is essential for GIS professionals working with continuous data such as elevation, slope, temperature, or land use suitability.

Unlike simple vector geoprocessing tools, the Raster Calculator operates on a cell-by-cell basis. It evaluates mathematical expressions for every pixel in the input rasters to generate a value for the corresponding pixel in the output raster. It is widely used for:

  • Weighted Overlay Analysis: Combining multiple suitability maps with specific weights.
  • Change Detection: Subtracting raster layers from different time periods.
  • Data Normalization: Scaling pixel values to a common range.

Raster Calculator Formula and Mathematical Explanation

The core logic behind the Raster Calculator is Map Algebra. When you execute a tool, the software iterates through every cell location (x, y) in the grid and applies the formula you provided.

The Weighted Sum Formula

One of the most common uses is the weighted sum, often used in site selection logic. The formula for a single pixel location is:

Result = (R₁ × W₁) + (R₂ × W₂) + … + C

Variable Meaning Unit Typical Range
R (Raster) Input pixel value Varies (m, ft, index) -∞ to +∞
W (Weight) Importance factor Decimal or Integer 0.0 to 1.0 (or 1-100)
C (Constant) Optional offset value Numeric Any Number
Operator Math action (+, -, *, /) N/A Standard Arithmetic

Practical Examples (Real-World Use Cases)

Example 1: Land Suitability Analysis

Scenario: You are identifying the best location for a vineyard. You have two raster layers: SlopeSuitability (where 10 is flat, 0 is steep) and SoilQuality (where 10 is rich, 0 is poor). You decide soil is twice as important as slope.

  • Input R1 (Slope): Pixel Value = 8
  • Input R2 (Soil): Pixel Value = 5
  • Formula: ("Slope" * 0.33) + ("Soil" * 0.67)
  • Calculation: (8 * 0.33) + (5 * 0.67) = 2.64 + 3.35 = 5.99
  • Interpretation: This pixel has a moderate suitability score.

Example 2: Elevation Change Detection

Scenario: Calculating volume loss in a mine. You subtract the current Digital Elevation Model (DEM) from the pre-mining DEM.

  • Input R1 (Pre-Mining): 1500m
  • Input R2 (Current): 1420m
  • Formula: "Pre_Mining_DEM" - "Current_DEM"
  • Result: 80m
  • Interpretation: 80 meters of vertical material have been removed at this location.

How to Use This Raster Calculator Simulator

This tool helps you verify your math and logic before running large-scale processing jobs in ArcGIS Pro. Here is how to use it:

  1. Select Operation: Choose “Weighted Sum” for suitability models, or basic math (+, -, *, /) for simple arithmetic operations.
  2. Enter Pixel Values: Input hypothetical values for two raster layers (e.g., what value does a specific cell have?).
  3. Apply Weights: If doing a weighted overlay, input the decimal weight (e.g., 0.5 for 50%). For basic math, weights are disabled.
  4. Analyze Results: Check the “Resulting Pixel Value” to see what the output raster would contain at that location.
  5. Review Syntax: Use the generated syntax string to copy correct formatting into ArcGIS Pro.

Key Factors That Affect Raster Calculation Results

When running the actual “rasher calculator” (Raster Calculator) in ArcGIS, several environmental factors influence the accuracy and validity of your output:

  • Processing Extent: Ensure both rasters cover the same geographic area. If extents differ, the calculation only occurs in the overlapping area by default.
  • Cell Size (Resolution): If inputs have different resolutions (e.g., 10m vs 30m), ArcGIS will resample the coarser one to match the finer one (or based on environment settings), which can introduce data artifacts.
  • Coordinate Systems: Rasters should be projected in the same system to align pixels correctly. On-the-fly projection can slow down processing and cause misalignment.
  • NoData Handling: If a cell has a value of NoData in either input, the result is usually NoData. You may need to use the Con(IsNull(), 0) function to treat nulls as zero.
  • Pixel Depth/Type: Be aware of integer vs. floating-point math. Dividing two integers (e.g., 10 / 3) might result in 3 instead of 3.333 depending on the software version and settings.
  • Raster Alignment (Snap Raster): Cells must align perfectly grid-to-grid. Using a “Snap Raster” ensures pixel boundaries match exactly to avoid resampling errors.

Frequently Asked Questions (FAQ)

1. Why is my Raster Calculator result empty or all black?

This often happens if the “Processing Extent” is not set correctly, or if the two rasters do not overlap geographically. Check your coordinate systems.

2. Can I use text fields in Raster Calculator?

No. Map Algebra strictly requires numeric values. If you have categorical data (text), you must reclassify it into numeric codes (e.g., Forest=1, Water=2) first.

3. What is the syntax for conditional statements?

The syntax is Con(condition, true_value, false_value). For example: Con("Slope" > 20, 1, 0) creates a binary mask of steep slopes.

4. How do I correct the “rasher calculator” typo?

If you search for “rasher,” you mean “Raster.” ArcGIS handles grids of pixels known as Raster Datasets. There is no tool named Rasher.

5. Why do I get integer results when I need decimals?

If both inputs are integers, ArcGIS may output an integer. Force a float calculation by multiplying one input by 1.0. Example: "Input" * 1.0 / "Input2".

6. How do I handle division by zero?

Division by zero will create NoData cells. To avoid this, you can use a conditional statement to check if the denominator is zero before dividing.

7. Does this calculator modify my actual GIS data?

No. This web tool is a simulator. It calculates values for a single theoretical pixel to help you design your formulas.

8. What is the difference between Weighted Sum and Raster Calculator?

Weighted Sum is a specific tool optimized for adding weighted rasters. Raster Calculator is a general-purpose tool that can do weighted sums plus complex logic, trig functions, and conditionals.

Related Tools and Internal Resources

© 2023 GIS Analysis Tools. All rights reserved. | Optimized for ArcGIS Pro Users.


Leave a Comment