This tool is a Boolean AND operator, i.e. it works on True or False (1 and 0) values. Grid cells for which the first and second input rasters (input1; input2) have True values are assigned 1 in the output raster, otherwise grid cells are assigned a value of 0. All non-zero values in the input rasters are considered to be True, while all zero-valued grid cells are considered to be False. Grid cells containing NoData values in either of the input rasters will be assigned a NoData value in the output raster.

See Also

bool_not, bool_or, bool_xor

Function Signature

def bool_and(self, input1: Raster, input2: Raster) -> Raster: ...

Project Links

WbW Homepage User Manual Support WbW