overlay_poly: Make plot of image with overlaid polygon

Description Usage Arguments Value

View source: R/overlay_poly.R

Description

Useful for quick plots showing overlap between an area of interest (AOI) and a satellite image.

Usage

1
2
overlay_poly(x, y, out, title = "", width = 4, height = 4, dpi = 150,
  ...)

Arguments

x

image as a Raster* object

y

polygon to overlay, as SpatialPolygonDataFrame

out

filename for output image. The extension of this file will determine the output file format (png, pdf, etc.).

title

title of plot

width

width (in inches) of output image

height

height (in inches) of output image

dpi

DPI for output image

...

additional arguments to ggsave

Value

used for writing plot to a file


azvoleff/teamlucc documentation built on June 4, 2017, 12:08 a.m.