projection {quadtree}R Documentation

Retrieve the projection of a Quadtree

Description

Retrieves the projection of a Quadtree.

Usage

## S4 method for signature 'Quadtree'
projection(x)

## S4 replacement method for signature 'Quadtree'
projection(x) <- value

Arguments

x

a Quadtree

value

character; the projection to assign to the Quadtree

Value

a string

Examples

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)

[Package quadtree version 0.1.14 Index]