check_landscape {landscapemetrics} | R Documentation |
Check input landscape
Description
Check input landscape
Usage
check_landscape(landscape, verbose = TRUE)
Arguments
landscape |
Raster* Layer, Stack, Brick, Stars or a list of rasterLayers |
verbose |
Print warning messages. |
Details
This function extracts basic information about the input landscape. It includes a type of coordinate reference system (crs) - either "geographic", "projected", or NA, units of the coordinate reference system, a class of the input landscape's values and the number of classes found in the landscape.
Value
tibble
Examples
augusta_nlcd <- terra::rast(landscapemetrics::augusta_nlcd)
check_landscape(augusta_nlcd)
podlasie_ccilc <- terra::rast(landscapemetrics::podlasie_ccilc)
check_landscape(podlasie_ccilc)
landscape <- terra::rast(landscapemetrics::landscape)
check_landscape(c(landscape, landscape))
[Package landscapemetrics version 2.1.4 Index]