Skip to content
← GIS plugins
Open sourceQGIS plugin, 2026
Stacked Terrain Builder icon

QGIS Stacked Terrain Builder

A QGIS plugin that turns any DEM into offset "stacked paper" terrain art, with an ArcGIS Pro export.

The Grand Canyon around Bright Angel Creek as stacked paper terrain: layered slabs from red rock at the Colorado River up to green forest on the North Rim
The Grand Canyon around Bright Angel Creek, from a run for my map of the Dragon Bravo Fire: oblique view, Paper layers style, Grand Canyon Light ramp, shaded faces, and a paper texture. Copernicus GLO-30 DEM.

Each elevation level becomes a solid slab laid over the ones below it, so the landscape reads like layers of cut paper. Pick a view, a light direction, a style, and a color ramp, and the tool builds the contours and symbology.

How it works

The DEM is averaged to a coarser grid, which gives soft, sinuous outlines instead of noise, and GDAL cuts it into contour bands. Each band is then rebuilt as a true nested slab, all ground at or above that level, so lifted slabs never leave gaps at the map edge. Outlines are smoothed and then simplified, which makes the layer about ten times lighter to draw.

All the styling is one QGIS geometry generator that offsets each slab by its elevation and draws its highlight, wall, shadow, and face. Shaded faces can’t use an ordinary hillshade, because every slab is shifted by its own lift. Instead, the tool pastes hillshade under each slab at that slab’s lifted position, the same way the renderer stacks them.

Output files and ArcGIS Pro export

Each run gets its own folder: a GeoPackage with the style embedded, sidecar styles, and a .qlr layer file that drops the whole stack into another project in the right order. An optional ArcGIS Pro export writes a matching .lyrx, with the lift and walls built into the geometry, since Pro’s symbols can’t do what the QGIS geometry generator does.

Install it in QGIS from Plugins → Manage and Install Plugins by searching for “Stacked Terrain Builder”, or run it as a standalone Processing script. It needs QGIS 3.44 or later, including QGIS 4, and uses only QGIS, GDAL, and NumPy, so there’s nothing extra to install.

Inspiration and credits

  • John Nelson, Make this AI-inspired topo landscape please (Adventures in Mapping, December 2023). The oblique “offset stacked” look is adapted from this ArcGIS Pro technique, and the built-in Teal-Orange and Lime-Orange ramps are modeled on his maps. This tool re-implements the idea natively in QGIS.
  • Tanaka and Pauliny illuminated contours, the classic relief-shading methods Nelson’s technique draws on. The nadir view is closest to those.
  • Copernicus GLO-30 elevation data, used for every image on this page.

How it runs

The tool runs from the QGIS Processing Toolbox and produces a styled layer group. Everything after the run is adjustable on the layer itself.

The Stacked terrain dialog in QGIS, set to the Copernicus DEM, the Grand Canyon and Kaibab outline, Paper layers, Grand Canyon Light, and an oblique view
Set upOne dialog: a DEM, an optional outline to clip to, a style, a color ramp, a view, and the light. These are the settings of the run above.
QGIS with the stacked terrain group in the Layers panel and the Grand Canyon on the map
Results in QGISSlabs, shading, and paper texture load as one styled group. The style is embedded in the GeoPackage, so the layer opens styled anywhere.
The Variables page of the stacked terrain layer's properties, listing the stack_ variables
Adjust without rerunningLift, view and light direction, walls, shadow, edges, and ramp are layer variables: change one and the map redraws.
The Dragon Bravo Fire map, with stacked terrain as the relief under the burn severity layers
Use it in a mapGrand Canyon Light runs are the relief under both maps of my Dragon Bravo Fire map.

Processing stages

The same 16 by 10 km of canyon around Bright Angel Creek at each stage. The lifted stages are framed a little further north, because the oblique view moves higher ground up the page.

Grayscale hillshade of the Copernicus elevation model for the Bright Angel area
The DEMCopernicus GLO-30 elevation, shown here as an ordinary hillshade.
Flat colored elevation bands with pale outlines, before any lift or shading
Nested slabsThe DEM is generalized and cut into slabs, each holding all ground at or above its level, colored by elevation.
The same slabs lifted northward in proportion to their height, with walls showing beneath each one
Lift and wallsEach slab is shifted away from the viewer by its height, and a darker wall shows beneath it.
The lifted slabs with shaded faces and a paper texture
Shading and paperA hillshade that follows each slab's lift, plus a paper texture, both blended with Multiply.

Two views

Oblique lifts the slabs so their walls show. Nadir keeps every slab in its true position, so the map can still be measured and overlaid, with depth from shadows and lit edges. Same area, same settings otherwise.

Oblique stacked terrain of the Grand Canyon, slabs lifted with walls showing
ObliqueSlabs lifted north, walls facing the viewer in the south.
Nadir stacked terrain of the same area, slabs in place with soft shadows
NadirSlabs in place: depth from shadows falling away from the light and lit edges facing it.

Clipped to any outline

An optional area of interest clips the slabs exactly to its outline, so the edges follow a park boundary or a watershed instead of the DEM's rectangle.

Stacked terrain clipped to the combined outline of Grand Canyon National Park and the Kaibab National Forest
Grand Canyon National Park and Kaibab National ForestNadir view, clipped to the combined park and forest outline.
Stacked terrain clipped to the Bright Angel Creek watershed
Bright Angel Creek watershedNadir view, clipped to the watershed used in my Dragon Bravo Fire map.

Styles

Each style sets the lift, walls, edges, and shadow. Shown on a 16 km square around Bright Angel Canyon with the Spectral ramp.

Offset slabs style: tall dark walls under every slab
Offset slabsTall, dark walls: the original offset look.
Paper layers style: thin sheets with pale edges and soft shadows
Paper layersThin sheets, pale edges, soft shadows.
Cut card style: dark edges and deep shadows
Cut cardThick card, dark edges, deep shadows.
Cut card in a nadir view: slabs in place, depth from shadows
Cut card, nadirSlabs in place, depth from shadows.

Color ramps

Switch ramps on an existing layer without rerunning. The two Grand Canyon ramps are pinned to real elevations, so their colors mark life zones: red rock at the river, desert scrub and woodland, then forest on the rim.

Stacked terrain of Bright Angel Canyon with the Magma ramp
Magma
Stacked terrain of Bright Angel Canyon with the Inferno ramp
Inferno
Stacked terrain of Bright Angel Canyon with the Plasma ramp
Plasma
Stacked terrain of Bright Angel Canyon with the Viridis ramp
Viridis
Stacked terrain of Bright Angel Canyon with the Spectral ramp
Spectral
Stacked terrain of Bright Angel Canyon with the Teal-Orange ramp
Teal-Orange
Stacked terrain of Bright Angel Canyon with the Lime-Orange ramp
Lime-Orange
Stacked terrain of Bright Angel Canyon with the Grand Canyon ramp
Grand Canyon
Stacked terrain of Bright Angel Canyon with the Grand Canyon Light ramp
Grand Canyon Light

Maps

The Grand Canyon as stacked paper terrain in oblique view: the Colorado River winding through red rock, side canyons cutting up into the green forest of the North Rim
Grand Canyon in stacked reliefOblique view, Paper layers style, Grand Canyon Light ramp, 100 m interval: the Colorado River in red rock at the bottom, side canyons cutting up into the North Rim forest. Copernicus GLO-30 DEM.
Oblique stacked paper terrain of side canyons below the North Rim of the Grand Canyon, green forest above and red rock toward the river
Below the North RimA 30 km view: side canyons drop from the forest on the Kaibab Plateau to the Colorado River.
Oblique stacked paper terrain at the western end of the area, with the layered edges of the clipped slabs visible along the boundary
The western edgeWhere the park and forest outline clips the slabs, the paper layers show in profile along the edge.