Experimental

Rounds each raster cell to the nearest integer.

raster math round

Parameters

NameDescriptionRequiredDefault
inputInput raster file path.Requiredinput.tif
outputOptional output raster file path. If omitted, the result is stored in memory.Optionaloutput.tif

Examples

Apply round transform to each non-nodata cell.

wbe.round(input='dem.tif', output='round_dem.tif')

Project Links

WbW Homepage User Manual Learn More