powered by
This function develops a Look-Up Table (LUT) for the class type map of soil condition. LUT is important map legends or maps re-classification.
classLUT(fgrid,indicator)
The output is a dataframe containing classes in the map and corresponding unique integers
Input classified map
The soil condition indicator of interest as contained in the input map for example, "texture", "salinity", etc.
Christian Thine Omuto
The input raster map should contain only one band for the soil indicator for clear identification of the band.
classCode, classnames
classCode
classnames
textrd=suitabinput["texture"] # \donttest{ LUT=classLUT(textrd,"texture") LUT # }
Run the code above in your browser using DataLab