Description Usage Arguments See Also Examples
Read all values from a raster file associated with a Raster* object into memory. This function should normally not be used. In most cases getValues
or getValuesBlock
is more appropriate as readAll
will fail when there is no file associated with the RasterLayer (values may only exist in memory).
1 | readAll(object)
|
object |
a Raster* object |
getValues
, getValuesBlock
, extract
1 2 | r <- raster(system.file("external/test.grd", package="raster"))
r <- readAll(r)
|
Loading required package: sp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.