KML {geotopbricks} | R Documentation |
KML
Description
KML
method for a GeotopRasterBrick
object
Usage
## S4 method for signature 'GeotopRasterBrick'
KML(
x,
filename,
crs = as.character("+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"),
...
)
Arguments
x |
the |
filename |
mane of the KML file to produce |
crs |
character string containing the LatLon reference system. Default is |
... |
further argument for S4 method |
Note
A coordinate transformation is made with projectRaster
.
Examples
library(geotopbricks)
# The examples is the following R script contained in a 'inst' directory of the package source
f <- system.file("doc/examples/example.KML.GeotopRasterBrick.R",package="geotopbricks")
## Not run:
source(f) # Uncomment this line to run the example.
## End(Not run)
# You can copy the example file using file.copy(from=f,to=....,...) See file.copy documentation
[Package geotopbricks version 1.5.8.2 Index]