This function reads SRTM .hgt files and outputs a
RasterLayer obejct or a
data.frame (not recommended).
a vector of character strings indicating the file names to be read
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.
RasterLayer object or a
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.