This function is deprecated.
Pleasue use plainview::plainView
instead.
# S4 method for RasterLayer
plainView(x,
maxpixels = mapviewGetOption("plainview.maxpixels"),
col.regions = mapviewGetOption("raster.palette")(256), at,
na.color = mapviewGetOption("na.color"), legend = TRUE,
verbose = mapviewGetOption("verbose"),
layer.name = deparse(substitute(x, env = parent.frame())),
gdal = TRUE, ...)# S4 method for RasterStackBrick
plainView(x, r = 3, g = 2, b = 1,
na.color = mapviewGetOption("na.color"),
maxpixels = mapviewGetOption("plainview.maxpixels"),
layer.name = deparse(substitute(x, env = parent.frame())), ...)
# S4 method for SpatialPixelsDataFrame
plainView(x, zcol = 1, ...)
# S4 method for ANY
plainview(...)
a raster
* object
integer > 0. Maximum number of cells to use for the plot.
If maxpixels < ncell(x)
, sampleRegular is used before plotting.
color (palette).See levelplot
for details.
the breakpoints used for the visualisation. See
levelplot
for details.
color for missing values.
either logical or a list specifying any of the components
decribed in the colorkey
section of levelplot.
should some details be printed during the process
the name of the layer to be shown on the map
logical. If TRUE (default) gdal_translate is used to create the png file for display when possible. See details for further information.
additional arguments passed on to repective functions.
See addRasterImage
, addCircles
,
addPolygons
, addPolylines
for details
integer. Index of the Red channel, between 1 and nlayers(x)
integer. Index of the Green channel, between 1 and nlayers(x)
integer. Index of the Blue channel, between 1 and nlayers(x)
attribute name or column number in attribute table of the column to be rendered
SpatialPixelsDataFrame
: SpatialPixelsDataFrame
ANY
: alias for ease of typing