Contents
Can you use reclassify to generate a raster?
You can use Reclassify directly to generate a new raster and map the input values to new ones. So you could map 4 to 1 and all other values to 0. You can also use a Con statement in the Raster Calculator to generate a binary output.
How is conditional input raster used in Map Algebra?
A number of Spatial Analyst tools can be used to create a conditional input raster. In particular, the logical tools in the Math toolbox can be used, with the Test tool being particularly useful. To perform conditional evaluation on a raster dataset in Map Algebra, input the raster dataset as conditional raster to the Con tool.
What does nodata mean in conditional input raster?
Cells assigned NoData will receive NoData as output. NoData does not equate to false. A number of Spatial Analyst tools can be used to create a conditional input raster. In particular, the logical tools in the Math toolbox can be used, with the Test tool being particularly useful.
What happens if only the input raster is used?
If only an input raster is used, all nonzero values in the input raster are considered true and all zero values false. Cells assigned NoData will receive NoData as output.
Can you use extract by attributes to create a new raster?
If you have that, then you can use Extract by Attributes to create new rasters of just one value. It would be the value from the original raster though, and you’d have to Reclassify it to 1 or 0. You can use Reclassify directly to generate a new raster and map the input values to new ones.
When to use multiple rasters in conditional statement?
Multiple rasters can be used in the conditional statement or in the expression to be performed on the cells. The input of multiple rasters is possible since the Con tool is evaluated for each x,y cell location before moving to the next cell.
Can a con tool be used for multiple rasters?
The input of multiple rasters is possible since the Con tool is evaluated for each x,y cell location before moving to the next cell. When multiple rasters are input, the specified operator or tool will process on a cell-by-cell basis between the multiple rasters.