Classifies a value map or a value column according to a Group domain.
Syntax
CLFY(ValueMap, GroupDomain)
CLFY(ValueColumn, GroupDomain)
Input
ValueMap | is a value raster map |
Domain type: | any Value domain |
ValueColumn | is a value column |
Domain type: | any Value domain |
GroupDomain | is a Group domain; it lists the upper boundary values of the groups, and the class names and group names for the output map or the output column. |
Output
CLFY(ValueMap, GroupDomain) returns: | a map with classified values |
CLFY(ValueColumn, GroupDomain) returns: | a column with classified values |
Domain: | the group domain GroupDomain |
Notes:
Tips:
Usable in
Examples
MapCalc example:
Suppose, you have a raster map SlopePct with slope values ranging from 0 to 200%, which you wish to classify into the following relief classes: Flat (0-2%), Undulating (2-8%), Rolling (8-16%), Hilly (16-30%), Mountainous (>30%) (FAO).
Upper |
|
2 |
Flat |
8 |
Undulating |
16 |
Rolling |
30 |
Hilly |
200 |
Mountainous |
Relief = CLFY(SlopePct, ReliefClass)
SlopePct |
Relief |
||||||||||||||||||||||||||||||||
|
|
For ranges of values of input map SlopePct, containing slope values in percentages, relief class names are assigned in output map Relief. The ranges and class names are specified in group domain ReliefClass. In the output map, read for F Flat, for U Undulation, for R Rolling, for H Hilly and for M Mountainous.
TabCalc example:
Suppose, you have a column SoilDepth with soil depths which you wish to classify into the following classes: 0-25 Very shallow, 25-50 Shallow, 50-100 Moderately Deep, 100-150 Deep, and >150 Very deep (USDA Soil Classification System).
Upper |
|
25 |
Very shallow |
50 |
Shallow |
100 |
Moderately deep |
120 |
Deep |
400 |
Very deep |
SoilDepthClass = CLFY(SoilDepth,DepthClass)
Sample |
SoilDepth |
SoilDepthClass |
1 |
15 |
Very shallow |
2 |
45 |
Shallow |
3 |
95 |
Moderately deep |
4 |
20 |
Very shallow |
5 |
40 |
Shallow |
6 |
60 |
Moderately deep |
7 |
110 |
Deep |
See also:
How to classify a map or column
Slicing (operation for maps)
Column Slicing (dialog box)