make_raster_overlay: make overlay of towers on image

Description Usage Arguments

Description

make overlay of towers on image

Usage

1
2
3
make_raster_overlay(base_raster, red_polygon_sf = NULL,
  green_polygon_sf = NULL, blue_polygon_sf = NULL,
  img_xml_wkt_path = NULL, outfilename = NULL, write_only = FALSE)

Arguments

base_raster

Either a path to a jp2 image with paired .aux.xml file or an existing rasterBrick or rasterStack object with valid CRS

red_polygon_sf

SF data frame containing polygons to overlay on the raster in the red layer

green_polygon_sf

SF data frame containing polygons to overlay on the raster in the green layer

blue_polygon_sf

SF data frame containing polygons to overlay on the raster in the blue layer

img_xml_wkt_path

Optional path to .xml file containing metadata about image in WKT format.

outfilename

Either file path for output raster or NULL

write_only

TRUE for only saving raster to file, FALSE for returning overlayed raster object


treysp/coolit documentation built on June 5, 2019, 5:16 p.m.