plotGmap: Plot google earth map

Description Usage Arguments See Also Examples

Description

Plots a google earth map that shows the location of SAR records. Uses the gmap method of the dismo package.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
plotGmap(object, xlim = c(-5, 5) + mean(object@extent[1:2]), ylim = c(-5, 5)
  + mean(object@extent[3:4]), xlab = "Longitude", ylab = "Latitude",
  sar = T, col = rgb(1, 0, 0, 0.5), scale = 1, border = "black", ...)

## S4 method for signature 'SAR'
plotGmap(object, xlim = c(-5, 5) + mean(object@extent[1:2]),
  ylim = c(-5, 5) + mean(object@extent[3:4]), xlab = "Longitude",
  ylab = "Latitude", sar = T, col = rgb(1, 0, 0, 0.5), scale = 1,
  border = "black", ...)

## S4 method for signature 'SARSet'
plotGmap(object, xlim = c(-5, 5) +
  mean(object@extent[1:2]), ylim = c(-5, 5) + mean(object@extent[3:4]),
  xlab = "Longitude", ylab = "Latitude", sar = T, col = rgb(1, 0, 0,
  0.5), scale = 1, border = "black", ...)

Arguments

object

object of the SARSet-class or object of the SAR-class (or a subclass e.g. Sentinel-class or TSX-class).

xlim

the x limits (x1, x2) of the plot.

ylim

the y limits (y1, y2) of the plot.

xlab

title of the x axis.

ylab

title of the y axis.

sar

TRUE if location should be plotted.

col

color within the recorded area.

scale

1 or 2. Using 2 doubles the number of pixels returned (and thus gives you better image quality if you need a large image).

border

color of the border of the SAR location.

...

graphical parameters of gmap method.

See Also

plotMap, gmap, border, plotBorder

Examples

1
2
3

ragram documentation built on May 2, 2019, 4:42 p.m.