This function can be used to list each of the unique values contained within a categorical raster (raster). The tool outputs string containing a comma-seperated variable (CSV) table of the unique values and their frequency of occurrence within the data. The input raster should not contain continuous floating-point numerical data, because the number of categories will likely equal the number of pixels, which may be quite large.

See Also

list_unique_values

Function Signature

def list_unique_values_raster(self, raster: Raster) -> str: ...

Project Links

WbW Homepage User Manual Support WbW