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.
# S4 method for GRaster
.copyGSpatial(x, reshapeRegion = TRUE)# S4 method for GVector
.copyGSpatial(x)
# S4 method for character
.copyGSpatial(x, type = NULL, topo = NULL, reshapeRegion = TRUE)
.copyGRaster(x, topo = "2D", reshapeRegion = TRUE)
.copyGVector(x)
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.
A GVector or the sources() name of one.
Logical. If TRUE, x must be a GRaster.
Character or NULL (default): Either "raster" or "vector". If a character, there must be one per value in x. If NULL, will attempt to auto-detect (takes longer).
"2D" or "3D"