elev_to_sgrd | R Documentation |
Convert elevation data into SAGA format
elev_to_sgrd(elev_filename, out_filename = NA, overwrite = TRUE)
elev_filename |
filename in disk of the elevation raster data |
out_filename |
output filename, defaults to
|
overwrite |
boolean, default to TRUE, should the output file be overwritten? |
Beware, this function will convert a TIF file into SAGA format, but for some reason, the output file loses its CRS and is not recognized properly by GDAL drivers. It will still work for calculating derivatives but the file should not be used directly for other purposes. Always refer to the original elevation file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.