make overlay of towers on image
1 2 3 |
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.