Description

This tool can be used to change the value within the grid cells of a raster (input) that contain NoData to zero. The most common reason for using this tool is to change the background region of a raster image such that it can be included in analysis since NoData values are usually ignored by by most tools. This change, however, will result in the background no longer displaying transparently in most GIS. This change can be reversed using the set_nodata_value tool.

See Also

set_nodata_value, Raster.is_nodata

Parameters

raster (Raster): The input Raster object

Returns

Raster: the returning value

Function Signature

def convert_nodata_to_zero(self, raster: Raster) -> Raster: ...

Project Links

WbW Homepage User Manual Support WbW