projection: Retrieve the projection of a 'Quadtree'

projectionR 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)

quadtree documentation built on Aug. 29, 2023, 5:11 p.m.