rasterly_build: rasterly_build

Description Usage Arguments Note See Also Examples

View source: R/rasterly_build.R

Description

Produce a rasterly object and return the raster information required to produce an image

Usage

1
rasterly_build(rastObj)

Arguments

rastObj

A rasterly object. It should be a list of environments composed of a rasterly() and several rasterly_... layers.

Note

A rasterly object will never be produced until rasterly_build() is called.

See Also

rasterly, rasterly_points, [.rasterly, [<-.rasterly

Examples

1
2
3
4
5
6
r <- data.frame(x = rnorm(1e5), y = rnorm(1e5)) %>%
       rasterly(mapping = aes(x = x, y = y)) %>%
       rasterly_points(color = fire_map)
str(r)
p <- rasterly_build(r)
str(p)

rasterly documentation built on July 2, 2020, 2:12 a.m.