QGIS Stacked Terrain Builder
Turns any DEM into offset "stacked paper" terrain art, natively in QGIS, with an ArcGIS Pro export.

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, one of three styles and one of nine color ramps, and the tool does the rest: no manual contouring, no hand-built 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.
Built to travel
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.
A single Processing script with no extra installs. Developed and tested on QGIS 4.2.
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
A DEM in, a styled map out. The tool runs from the QGIS Processing Toolbox, and everything after the run is adjustable on the layer itself.


From DEM to stacked terrain
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.
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.
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.
Styles
Three styles set the lift, walls, edges and shadow. Shown on a 16 km square around Bright Angel Canyon with the Spectral ramp.
Nine 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.





















