get_levels.clc: Retrieve Levels from a CLC Style Definition
Description
This function extracts the levels values associated with a CLC style definition.
It returns a data frame that contains the fields `id`, `description`, and `color`
from the CLC style definition.
Usage
# S3 method for clc
get_levels(clo)
get_levels(clo)
# S3 method for clc_category
get_levels(clo)
# S3 method for clc_raster
get_levels(clo)
Value
A data frame with columns:
- `id`: The identifier of the category.
- `description`: A textual description of the category.
- `color`: The color associated with the category.
Arguments
clo
A CLC object.
See Also
Other CLC class functions:
as_raster(),
clc(),
copy_to(),
cut_to_extent(),
get_colors.clc(),
get_raster(),
plot_clc(),
prepare_plot(),
save_to()