Alpine Hiking 6E – DEM & Contours

A Digital Elevation Model (DEM) is a representation of the bare ground (bare earth) topographic surface of the Earth excluding trees, buildings, and any other surface objects. The Shuttle Radar Topography Mission (SRTM) is an international research effort that obtained digital elevation models on a near-global scale, to generate the most complete high-resolution digital topographic database of Earth.

In QGIS it’s easy to download SRTM DEM data which can be used to generate contours. In this module we will generate 50m contours for the Survey map 52d/6 to make it a proper topographic map showing elevation data. Open the QGIS menu and zoom into the region covered by map 52d/6. Next let’s install the “SRTM-Downloader” plugin. See Image 1 below.

The new plugin can be accessed through the “Plugins” main menu, “SRTM-Downloader”. Click “Set Canvas” extent to automatically load the latitude, longitude coordinates for the current QGIS window. Click “Download” next. You will be requested to provide a login for NASA’s EarthData. Click on the URL to create a new profile. See Image 2+3+4 below.

After completing this process you will be able to download SRTM data in QGIS as a new raster layer. Dark areas correspond to low altitude regions (valleys). White areas correspond to high ranges (ridgelines). Hide / Show the new DEM raster layer to verify this on the underlying Survey map layer. See Image 5 below.

SRTM Downloader plugin
Downloading SRTM DEM data for selected coordinates
Enter your EarthData login credentials. Click the URL to create a new one
Login or Click Register to create a new EarthData login profile
SRTM data downloaded in QGIS as a new raster layer

Generating contours

We can now generate contours from the downloaded DEM data which can be overlaid on top of an existing map. First check whether the “GRASS” plugin is installed (This option should have been enabled while installing QGIS in module 1). See Image 1 below.

Next, go to menu “Raster”, “Extraction”, “Contours”. Select the newly downloaded DEM raster layer as input layer and set interval to 50m (works well with 1:50K scale Survey map). Click “Run” to generate contours in a new vector layer in QGIS. See Image 2 below.

You can now uncheck (hide) the DEM layer and just check (show) the Survey map and newly created contour layer and zoom into any part of the Survey map layer to see the contours clearly revealing the topography of the map – valleys, ridges, peaks, etc. Congrats! You have just created the most detailed topographic map for your alpine style exploration journey! See Image 3 below.

Right click on the contour layer and a choose a dark gray color and stroke with of 0.15 mm for optimum rendering of the contours on the Survey map. Don’t forget to save your newly created contour layer as a “ESRI shapefile” for future use. See Image 4 below. You can also overlay your contour layer on any other basemap, e.g. Google Satellite. See Image 5 below.

GRASS plugin offering advanced raster and vector processing tools in QGIS
Extracting contours from DEM layer
50m DEM generated contours overlaid over a Survey map
Saving your contours as an ESRI shapefil
50m contours shown over a Google Satellite base map adding a topographic layer on top

Assignment

Submit the form below acknowledging the fact that you have gone through the above tutorial.

Submit Assignment