To use terrain-analysis tools, we need an elevation raster. If you don't have any at hand, you can simply download a dataset from the NASA Shuttle Radar Topography Mission (SRTM) at http://dwtkns.com/srtm/ or from any of the other SRTM download services.
Note
If you want to exactly replicate the results in the following exercise, get the dataset called srtm_05_01.zip
, which covers a small part of Alaska.
Raster terrain analysis can be used to calculate the slope, aspect, hillshade, ruggedness index, and relief from elevation rasters, as shown in the following screenshot. These tools can be accessed by going to Raster | Terrain analysis, which comes with QGIS by default, but we have to enable it in the plugin manager.