Description Usage Arguments Details Value
View source: R/auto_setup_dem.R
This function will setup a set of DEM tiles for each Landsat path/row needed to cover a given AOI. The tiles can optionally be cropped to cover only the portion of each path/row that is included in the AOI, or can cover the full scene for each path/row needed to cover the AOI.
1 2 3 | auto_setup_dem(aoi, output_path, dem_extents, of = "GTiff", ext = "tif",
n_cpus = 1, overwrite = FALSE, crop_to_aoi = FALSE, notify = print,
verbose = FALSE)
|
aoi |
area of interest (AOI), as a |
output_path |
the path to use for the output |
dem_extents |
a |
of |
output format to use when saving output rasters. See description
of |
ext |
file extension to use when saving output rasters (determines
output file format). Should match file extension for output format chosen by
|
n_cpus |
the number of CPUs to use for processes that can run in parallel |
overwrite |
whether to overwrite existing files (otherwise an error will be raised) |
crop_to_aoi |
whether to crop the dem to the supplied AOI, or to the Landsat path/row polygon for that particular path/row |
notify |
notifier to use (defaults to |
verbose |
whether to print detailed status messages and timing information |
This function uses gdalUtils
, which requires a local GDAL
installation. See http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries
or http://trac.osgeo.org/osgeo4w/ to download the appropriate installer for
your operating system.
nothing - used for the side effect of setting up DEMs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.