resample | R Documentation |
Read an input DEM (.flt or .tif) and output a DEM of lower resolution.
resample(
in_raster = "nofile",
skip = 0,
out_raster = "none",
scratch_dir = "none"
)
in_raster |
Character string: the DEM to be down sampled |
skip |
Integer, the output cell length is skip * input cell length. So if the input DEM has cell size 1m and skip is 2, the output DEM has cell size 2m. If skip is 5, the output DEM has cellsize 5m. |
out_raster |
The output DEM, written as a .flt file. |
scratch_dir |
Character string: A scratch directory where temporary files are written. If an input file for program partial is created, it is written here. |
Resample operates as a wrapper for program resample.
A .flt raster written to disk.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.