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


yinscapital/sat-locat-reference-team-lucc documentation built on May 14, 2019, 11:09 a.m.