.copyGSpatial,GRaster-method | R Documentation |
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 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)
x |
A |
reshapeRegion |
Logical. If |
type |
Character or |
topo |
"2D" or "3D" |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.