Retrieves the projection of a Quadtree
.
# S4 method for Quadtree
projection(x)
# S4 method for Quadtree
projection(x) <- value
a string
library(quadtree)
habitat <- terra::rast(system.file("extdata", "habitat.tif", package="quadtree"))
qt <- quadtree(habitat, .1)
quadtree::projection(qt) <- "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"
quadtree::projection(qt)
#> [1] "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"