R/uas_exp_kml.R
, R/uas_exp_shp.R
uas_exp_kml.Rd
Export geometry(s) from a flight to KML and Shapefile
uas_exp_kml(
x,
flt_idx = NULL,
ctr = FALSE,
fp = FALSE,
mcp = FALSE,
combine_feats = FALSE,
combine_fn = NULL,
output_dir = NULL,
out_fnbase = NULL,
create_dir = TRUE,
overwrite = FALSE,
quiet = FALSE
)
uas_exp_shp(
x,
flt_idx = NULL,
ctr = FALSE,
fp = FALSE,
mcp = FALSE,
combine_feats = FALSE,
combine_fn = NULL,
output_dir = NULL,
out_fnbase = NULL,
create_dir = TRUE,
overwrite = FALSE,
quiet = FALSE
)
A list of class 'uas_info'
Flight indices in x to process, integer
Export the image centroids, Logical
Export the image footprints, Logical
Export the minimum convex polygon of the image footprints, logical
Combine features into a single Shapefile / KML, logical
File name (minus path and extension) for the combined features layer
The output directory. If NULL, the layers will be saved in a 'map' sub-directory of the image folder
The base of output filenames
Create the output directory if it doesn't exist, logical
Overwrite existing files, Logical
Suppress messages, Logical
A vector of filenames
flt_idx
allows you to specify a subset of image folders in x
to process (use names(x) to see what those are).
ctr
, fp
, and mcp
(all TRUE/FALSE) specify which geometry(s) to export.
Output file names will be generated from the flight metadata saved in the uas_info object. Alternately,
you can pass the base of a file name using out_fnbase
. You can specify the output directory
with output_dir
. The default is to save them in a sub-directory of the images directory
called 'map', which will be created if needed.
If combine_feats = TRUE
, the geometries from the folders in x will be combined into a single KML or Shapefile.
For this to happen, you must also pass a value for combine_fn
(a base for the file name of the combined features).
uas_exp_shp()
: Export flight info to Shapefile