Convert to degrees
Arguments
- x
Raster object of class WhiteboxRaster. See
wbw_read_raster()
for more details.
Value
WhiteboxRaster object in degrees
Examples
f <- system.file("extdata/dem.tif", package = "wbw")
wbw_read_raster(f) |>
wbw_slope(units = "r") |>
wbw_to_degrees()
#> +-----------------------------------------------+
#> | WhiteboxRaster |
#> | Slope (degrees) |
#> |...............................................|
#> | bands : 1 |
#> | dimensions : 726, 800 (nrow, ncol) |
#> | resolution : 5.002392, 5.000243 (x, y) |
#> | EPSG : 2193 (Linear_Meter) |
#> | extent : 1925449 1929446 5582091 5585717 |
#> | min value : 0.000000 |
#> | max value : 70.131950 |
#> +-----------------------------------------------+