Is This Content Helpful?
We're glad to know this article was helpful.
Instructions provided explain the procedure to use the Spatial Analyst Raster Calculator and a conditional statment to limit the values in a raster.
Follow these steps to set the minimum value of a raster to zero with two different outputs. This document assumes the Spatial Analyst Extension is turned on, and the Spatial Anayst toolbar is active.
con([GridName] < 0, 0, [GridName])
con([GridName] < 0, setnull([GridName]), [GridName])
In the above expressions, GridName is the raster layer in the data frame. For further information regarding the use of 'con' statements, users with ArcGIS versions 8.2 and higher should see the Functional Reference for Spatial Analyst functions. This help can be accessed from the About Building Expressions button on the raster calculator.