.copyGSpatial,GRaster-method {fasterRaster} | R Documentation |
Make a copy of an object in GRASS
Description
Create a copy of a GRaster
or GVector
in GRASS. This function is used internally and is of little use to most users. This only creates a copy of the object in the GRASS session–to make a GRaster
or GVector
, .makeGRaster()
or .makeGVector()
need to be called after making the copy. Note that if the object is multi-layered, then a copy is made of each layer.
Usage
## S4 method for signature 'GRaster'
.copyGSpatial(x, reshapeRegion = TRUE)
## S4 method for signature 'GVector'
.copyGSpatial(x)
## S4 method for signature 'character'
.copyGSpatial(x, type = NULL, topo = NULL, reshapeRegion = TRUE)
.copyGRaster(x, topo = "2D", reshapeRegion = TRUE)
.copyGVector(x)
Arguments
x |
A |
reshapeRegion |
Logical. If |
type |
Character or |
topo |
"2D" or "3D" |
Value
Character vector representing the sources()
names of the copied object(s), plus makes a copy of the given object(s) in GRASS.
sources()
names of copied rasters.