Skip to content
LidarKit

Turn a GeoTIFF DEM into an STL you can print

Drop an elevation model, pick the size, the exaggeration and the base, and get a closed terrain model for your slicer, or an OBJ for Blender. The file is read on this computer, so it isn't uploaded.

  • Closed, printable solid
  • Size in mm
  • STL or OBJ
  • No install

Drop a DEM GeoTIFF to turn into STL or OBJ

or choose files

GeoTIFF elevation model · DEM, DSM or DTM · BigTIFF and COG

No file to hand? — Surface model of central Brussels, 1 m cells (88.44 KB).

What you get from a DEM

Try the sample surface model above to see each of these before you use a file of your own.

  • STL · CLOSED SOLID

    A closed solid a slicer accepts

    Terrain on top, walls down every edge and a flat base. Every edge is shared by two triangles and every triangle faces out, which our tests check.

  • LONG SIDE · 150 mm

    Sized for your print bed

    Set the long side in millimetres. For files in metres you also see the footprint and the map scale before you build.

  • EXAGGERATION 1× → 3×

    Exaggeration you see first

    Gentle ground looks flat at print size. Exaggeration goes from 1× to 10×, and it's the same control as Relief in the 3D view.

  • DETAIL · AVERAGED

    Averaged, not sampled

    Each model cell is the mean of the elevation cells under it, so slopes stay smooth and a single bad pixel doesn't poke through at full height.

  • NODATA · FLAT PITS

    Holes don't break the model

    Nodata cells drop to the top of the base as flat pits. Empty rows and columns along the edges are cropped off first.

  • STL · OBJ

    STL to print, OBJ for Blender

    Binary STL for slicers. OBJ for Blender and CAD, with the source CRS and units written as comments at the top.

From elevation grid to solid

A DEM is a grid of heights. A 3D printer needs a closed shape with an inside and an outside. Getting from one to the other takes four steps, shown on the right.

Both kinds of model work, and they print differently. A terrain model (DTM) is bare ground, good for landscapes. A surface model (DSM) keeps buildings and trees, which is what makes a city block recognisable but turns a forest into a lumpy blanket.

Not sure which you have? DEM vs DSM vs DTM explains how to tell, and the 3D view above usually settles it.

  1. 1 · Resample

    Read at your detail from the nearest overview, each cell the average of the cells under it.

  2. 2 · Match units

    Degrees are converted to metres around the centre, so heights and distances agree.

  3. 3 · Scale

    The long side fits your size; heights get the same scale times the exaggeration.

  4. 4 · Close

    Walls down every edge to a flat base, every triangle facing out.

The winding is checked against the raster's own orientation, so a south-up or mirrored GeoTIFF still comes out right side out.

How to make an STL from a GeoTIFF

  1. 1. Drop the GeoTIFF in

    Drag the .tif onto the tool and it opens in 3D. No file to hand? Press Try the sample.

  2. 2. Set the size

    The export panel is open under the view. Pick the long side, the exaggeration, the base and the detail.

  3. 3. Build, then download

    Press Build STL and check the size and triangle count. Downloading needs a free account.

FormatSTL
OBJ for Blender, CAD or a game engine.
UnitsMillimetres
Ground units for true size, with a local origin.
Long side150 mm
Anything from 10 to 2,000 mm that fits your bed.
Vertical exaggeration1×
Raise it for gentle terrain. 1.5× to 3× is typical.
Closed solid with a baseon
Untick for the surface alone, holes left open.
Base below the lowest point3 mm
Thicker on big prints, which warp more.
Detail512 cells
256 to 2,048 on the long side, or the file's own size.
Crop to the dataon
Untick to keep empty edge rows and columns.

Supported features and limitations

Works today

  • GeoTIFF DEMs, DSMs and DTMs, tiled or striped
  • Projected or latitude/longitude coordinates
  • Closed, watertight solids with a flat base
  • The surface alone, without a base
  • Binary STL and OBJ
  • Print size in millimetres, or true size in ground units
  • Area-averaged resampling from overview levels
  • Footprint, triangle count and file size before you build

Good to know

  • Detail tops out at 2,048 cells. That's about eight million triangles and a 400 MB STL, already more than many slicers open comfortably.
  • No texture. The OBJ is geometry only, without an orthophoto draped on it.
  • Heights are taken as given. If the ground is in feet but heights are in metres, set the exaggeration to make up for it. The panel points this out.
  • No georeferencing? Then a cell is one unit wide, and you set the exaggeration by eye.
  • Exports the terrain as is. No cutting, labels or sculpting.

How it compares with desktop software

GIS and modelling packages can do far more with a mesh. This page does one thing: turn a DEM into a solid that prints, on whatever machine you're at.

TopicThis toolDesktop software
Getting startedOpen the page. Nothing to install.Install a GIS or modelling package, sometimes with a plugin.
Closed solidBuilt in: walls, base and outward-facing triangles.Often a separate step or plugin.
Print sizingSet the long side in mm. Footprint and map scale shown.Usually scaled by hand afterwards.
ResamplingAveraged from the nearest overview level.Varies by tool and setting.
Editing the modelNo sculpting or cutting. It exports the terrain as is.Full modelling tools.
Your fileRead on your computer, not uploaded.Also stays on your computer.
PriceFree. Downloading the model needs a free account.From free and open source to commercial licences.

Starting from a point cloud? LAS to DEM makes the GeoTIFF first. To look over the finished model, drop it on the STL viewer.

Your elevation model stays on your computer

The browser reads the GeoTIFF straight from your disk and hands it to a background worker on your own machine. That's where the mesh is built. There's no upload step.

You can check it: open your browser's developer tools, watch the Network tab and build a model. The page counts anonymous events, like "a model was built", with a rough file size. Nothing from inside your file goes with them. The privacy page has the details.

Frequently asked questions

How do I turn a GeoTIFF DEM into an STL?
Drop the .tif onto the tool above. It opens in 3D with the export settings underneath: the long side in millimetres, the exaggeration, the base and the detail. Press Build STL, check the size and triangle count it reports, then download. Downloading needs a free account.
What size and exaggeration should I use?
Size is whatever fits your bed, and 150 mm is a good first print. Exaggeration depends on how much relief there is for that size. Mountains print well at 1×, but rolling country or a city block ends up a few millimetres tall and looks flat. 1.5× to 3× is typical for gentle terrain. The 3D view shows the same exaggeration, so what you see is what you get.
Will my slicer accept the STL?
It's built to. The model is a closed solid: the terrain, four walls down from its edges and a flat base. Every edge is shared by exactly two triangles, every triangle faces outward, and the base meets each wall segment exactly. Our tests check those properties on the mesh itself.
What does the detail setting change?
How many cells span the long side: 256, 512, 1,024 or 2,048, or the file's own size if it's smaller. Each cell is two triangles, so 512 is about half a million and 2,048 about eight million. On a 150 mm print, 512 cells is about 0.3 mm a cell, already finer than a 0.4 mm nozzle lays down.
What happens to nodata cells?
In a solid they drop to the top of the base, so a gap becomes a flat pit instead of a hole that would break the model. Empty rows and columns along the edges are trimmed first, which removes the blank collar clipped tiles often have. With the solid unticked, nodata cells are left out of the surface.
Should I choose STL or OBJ?
STL for printing: slicers read it, and it's written as binary STL, about a fifth the size of the text version. OBJ for Blender, CAD and game engines, where you might want the surface without a base. Both hold the same triangles. The OBJ is geometry only, with no texture.
Can I keep real-world coordinates?
Yes. Set the units to ground units and the model comes out at true size in the file's own units, shifted to a local origin so 32-bit software doesn't round it. For a projected file, the shift is written as a comment at the top of the OBJ, so adding it back gives you the source coordinates.
Does it work with a DEM in latitude and longitude?
Yes. The degrees are converted to metres around the centre of the model before anything is scaled, and the heights are taken as metres. Otherwise a one-degree tile would be one unit across and its relief absurdly tall.
Can I start from a LAS or LAZ point cloud?
Yes, in two steps. Grid the cloud into a surface or terrain model with LAS to DEM, download the GeoTIFF, and drop it here. A terrain model gives bare ground; a surface model keeps buildings and trees, which print well at city scale.
Are my files uploaded?
No. The GeoTIFF is read from your disk and the model is built in a background worker on your own machine.

Related tools

Learn more