terrain_to_tif | R Documentation |
Assuming several derivatives have been computed, this function will map over
directory of resulting terrain derivatives and translate the files into TIFF
format if not yet existing. To translate a single file from SAGA to GeoTIFF
format better use gdalUtils::gdal_translate()
.
terrain_to_tif(out_dir_to_translate, out_crs = NULL)
out_dir_to_translate |
directory containing outputs from
|
out_crs |
CRS information is lost within SAGA processes, it is therefore
the need to reset it at the end of the process. Here one can
give CRS information of the original elevation file used to
create the derivatives. This can be obtained with
|
If the elevation file resulting from elev_to_sgrd()
is
present in the out_dir_to_translate, it will give a warning and will
not convert the file to TIF, since the driver is corrupted.
To refer to elevation data always use the original file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.