Printing terrain and city maps

Design· 9 min read· Updated 16 October 2026

A terrain print is a height map with a scale problem. Landscapes are thousands of times wider than they are high, elevation data has a fixed resolution, and a printer builds in fixed steps. Choosing the area, the exaggeration and the layer height is mostly arithmetic, and doing that arithmetic before printing is what separates a crisp relief from a flat, blocky tile.

Where the heights come from

A terrain model starts as a digital elevation model: a grid of heights, one value per cell. The Map to STL generator uses an open tile set that combines several sources. Over most land the underlying data is from satellite radar with cells of roughly 30 m, better in some countries with national surveys. Ocean depths come from much coarser data, so the sea floor is smooth compared with the land.

Two properties of this data show up on prints:

The grid becomes a mesh in the same way as any heightmap; the general idea is in the depth map guide.

Area size against data resolution

The data cell has a fixed size on the ground, so its size on the print depends on how much area you squeeze into the model. Cell size on the model = 30 m × model width ÷ area width:

Area widthModel widthOne 30 m cell on the printResult
2 km120 mm1.80 mmfacets visible, smooth hills look faceted
5 km120 mm0.72 mmfine for bold landforms
8 km120 mm0.45 mmabout one line width: as fine as the printer draws
20 km120 mm0.18 mmdata finer than the nozzle; detail is limited by the print

As a rule, once a cell is smaller than the line width, more data detail no longer shows. The generator's suggestion of 5–20 km for mountains and 10–50 km for islands fits this. Small areas suit the city map, where buildings provide the detail.

Vertical exaggeration: the scale formula

The horizontal scale is fixed by your choice of area and model width. The vertical scale is the same scale multiplied by the exaggeration. The generator computes each point's height as:

model height = base + (elevation − lowest elevation) × (model width ÷ area width) × exaggeration

Two examples on a 150 mm model:

So choose by relief in millimetres, not by a favourite factor. A height difference of 10–15 mm on a 120–150 mm model is a reasonable minimum for a readable relief, and more than about a third of the model width starts to look like spikes. Mountains often need little or no exaggeration; plains need a lot. Whatever you choose, note it on the base or the label: a print at 3× is not a true picture of the landscape.

Base thickness and the lowest point

The lowest elevation in the area sits exactly at the base height, so the base is the thickness under the deepest valley or the sea. The generator defaults to 3 mm. Thinner bases save little time and warp more on large tiles; for a model that will be framed, or a large tile that must stay flat, 4–5 mm is safer. A flat sea or lake surface sits at the base height unless you turn on the sea floor, which brings the coarse ocean depths into the model; the deepest point of the sea then becomes the lowest point and sits at the base height.

Layer height, terraces and top surfaces

A heightmap has no overhangs, so terrain needs no supports at any slope. What it shows instead is terracing: each layer ends in a step, and the step's width on a slope is the layer height divided by the tangent of the slope angle.

SlopeStep width at 0.2 mmStep width at 0.12 mm
5°2.29 mm1.37 mm
10°1.13 mm0.68 mm
20°0.55 mm0.33 mm
45°0.20 mm0.12 mm

Steep slopes look smooth at any layer height; gentle slopes are where terraces show. That is why 0.12–0.16 mm is the usual choice for terrain, and why variable layer height, which thins layers only where the surface is shallow, works well here; see variable layer height. Some people like the terraces at 0.2 mm, because they look like contour lines.

Almost every part of a terrain model is a top surface, so the top layer count matters more than usual. On gentle slopes each terrace exposes only a narrow band of top skin over the infill, and too few top layers let the infill show through as pillowing. Use four or five top layers, 2–3 walls and 10–15 % infill. Print time is dominated by this skin; the print time guide explains how to estimate it.

Colour changes by height

Colour bands by elevation, blue for water, green for low ground, brown or grey for rock and white for peaks, are a simplification, but they make a terrain print readable. Because every band boundary is a horizontal plane, a single-extruder printer can do it with filament changes at chosen heights.

A worked example

An area 10 km wide on a 150 mm model, 1.5× exaggeration, 3 mm base. The generator shows the elevation range: lowest 1,000 m, highest 2,800 m. Vertical scale: 0.015 × 1.5 = 0.0225 mm per metre, so the model is 3 + 1,800 × 0.0225 = 43.5 mm tall. Green to rock at 1,800 m: 3 + 800 × 0.0225 = 21.0 mm. Rock to white at 2,400 m: 3 + 1,400 × 0.0225 = 34.5 mm, which at 0.12 mm layers falls between 34.44 and 34.56 mm, so pick one of those layer boundaries.

For water, print the base in blue and change at the first layer above it. Everything less than one layer above the lowest point stays blue: at this scale, one 0.2 mm layer is 0.2 ÷ 0.0225 ≈ 9 m of elevation, which is a good approximation of a shoreline.

Find the exact layers in the slicer preview and add the changes as in the multi-colour guide. With a multi-material system, height-range modifiers can assign each band to a filament instead; see height-range modifiers. Real tree lines and snow lines depend on slope direction and climate, so treat the heights as a design choice.

City maps: buildings, roads and water

The 3D City Map generator raises building footprints from OpenStreetMap to their recorded height or floor count, adds roads and water, and can place everything on the real terrain. The scale numbers work differently from terrain, because the limiting feature is the smallest building, not the data grid.

Print at 0.12–0.16 mm layers so small buildings keep their corners. Dense blocks of tall, thin buildings mean many short travel moves; if the nozzle knocks buildings over or leaves strings, see the stringing guide. A filament change just above the base gives light buildings on a dark ground; the 3MF export keeps ground, buildings, roads and water as separate parts for a multi-material system.

Large maps, file size and data credits

A map larger than the bed can be printed as tiles that are cut on straight lines and glued; the cut and joint options are in splitting large models, and the STL splitter does the cutting. The generator's Fine detail produces large meshes; if the file is slow to slice, reduce the triangle count, as the STL resolution guide explains.

Buildings and roads are OpenStreetMap data, published under the Open Database Licence. If you share, publish or sell a model made from it, credit "© OpenStreetMap contributors" with it, for example on the base or in the listing. The elevation sources have their own attribution terms, which the generator lists under the map.

Print any place on Earth The Map to STL generator builds a closed terrain model from open elevation data, with model width, vertical exaggeration and base thickness you can set.
Open the terrain generator →

Frequently asked questions

What vertical exaggeration should I use for a terrain print?

For mountains, 1 to 1.5 times is often enough; for hills, 2 to 3 times; for flat country, 5 times or more. Work out the relief in millimetres first: aim for at least 10 to 15 mm of height difference on a model of 120 to 150 mm, and raise the exaggeration until you get there.

Why does my terrain print look blocky?

The area is too small for the elevation data. Most land data has cells of about 30 m. On a 120 mm model of a 2 km area, each cell is 1.8 mm wide, so the facets become visible. Choose a larger area, or accept the look for small areas.

What layer height is best for terrain?

About 0.12 to 0.16 mm. Gentle slopes show steps whose width is the layer height divided by the tangent of the slope, so a 5 degree slope at 0.2 mm layers has steps about 2.3 mm wide. Variable layer height helps further on models with large flat areas.

How do I print a terrain map in several colours with one extruder?

Convert the elevations where you want each colour to start into model heights with the scale formula, round them to whole layers, and insert a filament change at each height. The bands follow real contour lines, because every colour boundary is a horizontal plane.

Why are some buildings missing or the wrong height on a city map?

The buildings come from OpenStreetMap, where some buildings have no recorded height or floor count. They get a default height. Very small buildings can also be narrower than the nozzle can print at the chosen scale.

Keep reading