Description Usage Arguments Details Value Author(s) See Also
This function reads SRTM .hgt files and outputs a RasterLayer
obejct or a data.frame
(not recommended).
1 |
files |
a vector of character strings indicating the file names to be read |
as.data.frame |
boolean, if |
The SRTM1 has 3601\times 3601 cells, and SRTM3 has 1201\times 1201 cells. It is thus not recommened to convert the output into a data.frame
. Moreover, the RasterLayer
object is easier to work with using the raster package.
A RasterLayer
object or a data.frame
D. Yang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.