Description Usage Arguments Value Note Author(s)
The function mosaic the input Sentinel-2 files with the same date, orbit number, product type and file format. Outputs are a set of products in the same format of corresponding input files.
1 2 3 |
infiles |
A vector of input filenames. Input files are paths of products already converted to a format managed by GDAL. |
mosaicdir |
Directory of mosaic |
tilesdir |
Directory of tiles |
outdir |
(optional) Full name of the output directory where
the files should be created (default: current directory).
|
subdirs |
Subdirectory |
tmpdir |
(optional) Path where intermediate files (VRT) will be created. Default is a temporary directory. |
rmtmp |
(optional) Logical: should temporary files be removed? (Default: TRUE). This parameter takes effect only if the output files are not VRT (in this case temporary files cannot be deleted, because rasters of source bands are included within them). |
format |
(optional) Format of the output file (in a format recognised by GDAL). Default is to maintain each input format. |
compress |
(optional) In the case a GTiff format is present, the compression indicated with this parameter is used. |
vrt_rel_paths |
(optional) Logical: if TRUE (default on Linux),
the paths present in the VRT output file are relative to the VRT position;
if FALSE (default on Windows), they are absolute.
This takes effect only with |
resolution |
Resolution overwritten? (default: FALSE) |
overwrite |
Logical value: should existing output files be |
A vector with the names of the merged products (just created or already existing).
License: GPL 3.0
Luigi Ranghetti, phD (2017) ranghetti.l@irea.cnr.it, pascal Obstetar, (2019) pascal.obstetar@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.