read_srtm: Get path to the example DEM data

View source: R/read-srtm.R

read_srtmR Documentation

Get path to the example DEM data

Description

Rsagacmd comes bundled with a small tile of example Digital Elevation Model (DEM) data from the NASA Shuttle Radar Topography Mission Global 1 arc second V003. This data is stored in GeoTIFF format in 'inst/extdata'.

Usage

read_srtm()

Details

The dataset contains the land surface elevation of an area located near Jasper, Alberta, Canada, with the coordinate reference system (CRS) EPSG code of 3402 (NAD83(CSRS) / Alberta 10-TM (Forest)).

To access the data, use the convenience function of 'read_srtm()' to load the data as a 'terra::SpatRaster' object.

Examples

library(Rsagacmd)
library(terra)

dem <- read_srtm()
plot(dem)

stevenpawley/RSAGA5 documentation built on March 26, 2024, 5:30 a.m.