Creates image collection summaries for individual flights (folders)
uas_report(
x,
col = NULL,
group_img = TRUE,
thumbnails = FALSE,
show_local_dir = TRUE,
report_title = "Flight Summary",
attachments = c("mcp_kml", "ctr_kml")[0],
output_dir = NULL,
create_dir = TRUE,
output_file = NULL,
overwrite_html = FALSE,
open_report = FALSE,
self_contained = TRUE,
png_map = FALSE,
png_exp = 0.2,
overwrite_png = FALSE,
google_api = NULL,
report_rmd = NULL,
header_html = NULL,
footer_html = NULL,
use_tmpdir = FALSE,
quiet = FALSE,
show_gps_coord = NULL
)
A list of class 'uas_info'
Color value(s) of the centroids and/or footprints
Group images within ~1m of each other into 1 point
Create thumbails
Show the local image directory, TF
Title to appear at the top of the summary
Supplementary files to create and link to the flight summary, see Details.
If NULL, then will be placed in a 'map' sub-directory of the images
Create the output directory if it doesn't exist
Name of the HTML file. If NULL a default based on the name of the input directory is chosen.
Overwrite existing HTML files without warning, YN
Open the HTML file in a browser
Make the output HTML file self-contained
Whether to create a PNG version of the map. May be T/F, or dimensions of the output image in pixels (see Details)
A proportion to expand the bounding box of the PNG map, see Details.
Overwrite existing PNG files without warning, YN
API key for Google Static Maps, see Details.
Rmd template used to generate the HTML file. See Details.
A HTML file name or URL to use as the header
A HTML file name or URL to use as the footer
Use the temp dir for processing
TRUE to supress printing of the pandoc command line
Show GPS coordinates of images in the pop-up windows, YN (deprecated)
The HTML file name(s) of the flight summaries generated
This will generate HTML report(s) of the images in the UAS metadata object based.
group_img
determinies whether images at the same location are represented by a single point on the map. This is common with multi-spectral sensors that take generate multiple images per location. 'Same location' is determined by looking at the 5th decimal place of the x and y geographic coordinates (~1m),
If no value for output_dir
is passed, the report will be saved in a sub-directory of the image directory
called 'map'. This sub-directory will be created if create_dir = TRUE
.
self_contained
determines whether the HTML file(s) created will have all the JavaScript and CSS files
embedded in the HTML file itself, or saved in a subdirectory called 'libs'. If saving several reports to one output directory,
If saving multiple HTML reports to the same output directory, passing self_contained = FALSE
is more efficient
The HTML report is generated from a RMarkdown file. If you know how to edit RMarkdown, you can modify the default template and pass the filename
of your preferred template using the report_rmd
argument.
png_map
controls whether a PNG version of the map will be created in output_dir
.
If TRUE, a PNG file at the default dimensions (480x480) will be created. If a single integer
is passed, it will be taken to be the width and height on the PNG file in pixels.
png_exp
is a percentage of the points bounding box that will be used as a buffer
for the background map. If the map seems too cropped, or you get a warning message about rows
removed, try increasing it. By default, the background image will be a satellite photo from
Google Maps. However this requires a valid API Key for the Google Maps Static service, which you
pass with google_api
(for
details see https://developers.google.com/maps/documentation/maps-static/. Alternately you
can save your API key with ggmap::register_google()
, after which it will be read automatically.
If a Google API key is not found, a terrain map from Stamen will be substituted.
attachment
specifies which supplementary files to create and link to the flight summary. Choices are
ctr_kml
and mcp_kml
for KML versions of the camera locations and MCP (minimum convex
polygon around all images). These KML files will be created in the same output directory as the flight
summary.