GISDirect
Guides › Analysis

From DEM to Slope, Aspect and Hillshade

GISDirect · 2026-11-18

Slope, aspect and hillshade are where almost every terrain workflow begins — landslide susceptibility, solar siting, trail design, agricultural suitability. The first obstacle is usually simpler than the analysis: where do you get a DEM? This guide covers where to obtain elevation data, how to derive slope and hillshade from it, and how resolution quietly changes your answer.

What a DEM is

A DEM (Digital Elevation Model) is a raster whose cell values are heights rather than colours. Think of an image where every pixel holds metres above sea level.

Three similar acronyms cause most of the confusion:

TermWhat it representsBuildings and trees?
DEMDigital Elevation Model — the broadest termDepends on the dataset
DTMDigital Terrain Model — the bare groundRemoved
DSMDigital Surface Model — the visible surfaceIncluded

Slope and hydrology work needs a DTM — tree canopy should not register as terrain. Shadow and solar-potential studies need a DSM instead. Most free global DEMs behave more like a DSM, which means they read high over forest.

Free DEM sources

DatasetResolutionCoverageNotes
Copernicus DEM (GLO-30)~30 mGlobalMost consistent quality of the global products
SRTM~30 m60°N to 60°SLongest track record, most documentation
ASTER GDEM~30 mGlobalLocal noise from cloud contamination
ALOS AW3D30~30 mGlobalComparatively good in mountainous terrain
National mapping agency data1–5 mVaries by countryFar more precise, usually requires registration
What resolution means: in a 30 m DEM one pixel covers 30 by 30 metres. A gully ten metres wide simply does not exist in the data. Parcel-level slope needs drone survey or national high-resolution data. Conversely, running a watershed study on 5 m data multiplies the computation enormously for an answer that barely changes.

Slope — decide the unit first

Slope is expressed two ways, and mixing them produces very different numbers.

The trap is that 45° equals 100%, not 90°. People regularly read 100% as vertical. Whenever a regulation specifies a slope threshold, confirm which unit it means before you classify anything.

DegreesPercentFeels like
5°8.7%Gentle farmland
15°26.8%Around the limit of cultivation
25°46.6%Steep; landslide risk rises
45°100%Very steep

Hillshade is presentation, not analysis

Hillshade simulates a light source and shades the terrain accordingly. The important thing is that it is an image, not a measurement. You do not compute with hillshade; you place it under other layers to give them relief.

The conventional defaults are azimuth 315° (north-west), altitude 45°. Lighting from the upper left matches how the eye expects illumination to fall. Light the scene from the south-east instead and valleys read as ridges and ridges as valleys — the classic relief inversion illusion.

Vertical exaggeration (z-factor): flat country produces almost no visible shading. Exaggerating heights two or three times reveals subtle relief. Exaggerated terrain looks more rugged than it is, so state the factor in the figure caption when the image goes into a report.

Step by step: from DEM to terrain analysis

  1. Define the extent — draw it on the map or load a boundary polygon. Request slightly more than you need; edge pixels are unreliable.
  2. Download the DEM for that extent.
  3. Derive slope, aspect and hillshade — all three come from the same DEM. Choose the slope unit before you start.
  4. Classify into bands — raw slope is hard to read. Reclassifying into ranges (0–5°, 5–15°, 15–25°, above 25°) makes area tabulation straightforward.
  5. Export — add to the map or save as GeoTIFF.
Try it → Use DEM Download to fetch elevation data for your extent, then Terrain Analysis for slope, aspect and hillshade. For area by slope band, pass the result through Raster Reclassify. For a cross-section, there is Elevation Profile.

When the result looks wrong